Skip to content
Simple node app to watch a directory and run phpunit tests
JavaScript
Find file
Latest commit bd534b1 @jrcryer Update README.md
Failed to load latest commit information.
lib Adding tests
test Adding tests
.gitignore Initial commit
.travis.yml Adding .travis.yml
LICENSE-MIT Adding license
README.md Update README.md
package.json Updating test script

README.md

phpunit-watchr

A NodeJS app to watch directories and run PHPUnit tests.

Build Status

This project is no longer maintained. Please see: https://github.com/SaschaGalley/grunt-phpunit to automate running your PHPUnit test runner.

Installation

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

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

Running The Server

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.

Example usage

Setting path:

phpunit-watchr './php/tests'

Setting paths:

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

Setting PHPUnit configuration:

phpunit-watchr './php/tests' '--strict --colors'

Future Features

  • Notification integration

Licence

This project is licensed under MIT license.

Something went wrong with that request. Please try again.