phpunit-auto

Run automatically phpunit by watching update of phpfiles

npm install phpunit-auto
2 downloads in the last week
6 downloads in the last month

Install

$ npm install -g ngyuki/node-phpunit-auto

Usage

$ phpunit-auto <path>... [--] [options]...

Options

path

Watching paths.

options

PHPUnit command line options.

Example

  1. execute phpunit -c tests/ --colors with watching src/ and tests/.
$ phpunit-auto src/ tests/ -c tests/ --colors
  1. execute phpunit tests/ with watching src/ and tests/.
phpunit-auto src/ tests/ -- tests/
npm loves you