0.5.0 • Published 9 years ago
phpunit-watchr-2 v0.5.0
phpunit-watchr
A NodeJS app to watch directories and run PHPUnit tests.
Installation
The following command will install the application. Use -g to install as a global binary.
[sudo] npm install [-g] phpunit-watchr-2Running The Server
Running the app is easy. If you installed globally, then starting the app is as easy as:
phpunit-watchr [path to phpunit executable to use] [paths to watch recursivly] [phpunit-configuration]To define more than one path to watch separate them with a comma, e.g.: /tests,/src
Defaults
- phpunit-executable =
phpunit - paths =
. - phpunit-parameter =
--colors
Example usage
Setting phpunit-executable:
phpunit-watchr /project/vendor/phpunit/phpunit/phpunitSetting path:
phpunit-watchr null './php/tests'Setting paths:
phpunit-watchr null ./php/tests,./testsSetting PHPUnit configuration:
phpunit-watchr null './php/tests' '--strict --colors'Licence
This project is licensed under MIT license.
0.5.0
9 years ago