felixfbecker / php-language-server

PHP Implementation of the VS Code Language Server Protocol 🆚↔🖥
ISC License
1.15k stars 185 forks source link

[Idea] Auto-execute tests when editing a class mapped to a test #317

Open jens1o opened 7 years ago

jens1o commented 7 years ago

In my workflow, it would be really useful when the PHPUnit Tests are automatically executed when I'm editing a file. At least it would be great to be able to execute the tests for this class via an command. Your thoughts?

felixfbecker commented 7 years ago

Sounds like a continuous test runner like WallabyJS

jens1o commented 7 years ago

But WallabyJS doesn't allow php. 😢

staabm commented 7 years ago

whats the background of your idea? do you talk about development time of the language-server itself or do you talk about a end-user feature within the actual IDE?

A local CI server for php is e.g. https://github.com/FriendsOfPHP/Sismo

jens1o commented 7 years ago

I'm talking about a end-user feature within the IDE. The link looks interesting, thanks.

staabm commented 7 years ago

not sure why such a feature should be provided by the language server ... sounds like a IDE feature to me.

jens1o commented 7 years ago

oh. Wrong repo. Planned to do this in the main repo.