phpunit-watchr

A simple script to watch a directories and run phpunit tests

phpunit-watchr

A NodeJS app to watch directories and run PHPUnit tests.

The following command will install the application. Use -g to install as a global binary.

[sudo] npm install [-g] phpunit-watchr

Running the app is easy. If you installed globally, then starting the app is as easy as:

phpunit-watchr [path] [phpunit-configuration]

The path and phpunit-configuration will default to ./tests and --colors respectively.

Setting path:

phpunit-watchr './php/tests'

Setting paths:

phpunit-watchr ./php/tests,./tests

Setting PHPUnit configuration:

phpunit-watchr './php/tests' '--strict --colors'
  • Notification integration

This project is licensed under MIT license.