PHPUnit watcher extension for VS Code
- Run PHPUnit on each file save
- Report PHPUnit status in status bar
- php needs to be in the PATH variable.
- PHPUnit (Version 8+) This must be either available globally and in the PATH variable or installed in the project via composer
This extension contributes the following settings:
phpunit-watcher.projectFolder: Set the project root folder (only required if not equal to the workspace folder), default: ""
phpunit-watcher.phpunit: PHPUnit command, default: "phpunit"
phpunit-watcher.php: PHP command, default: "php"
phpunit-watcher.phpunitArguments: PHPUnit arguments, default: "tests"
phpunit-watcher.useComposer: Try to use phpunit from composer, default: true
phpunit-watcher.triggerLanguageIds: Language Ids that trigger a rerun of the unit tests on save, seperate by commas. Example options: php, html, json. Default: "php"
Added support for PHPUnit 8
Make Language Ids that trigger a rerun of the tests configurable.
Initial release of PHPUnit Watcher extension for VS Code