I have been using autotest for unit testing in ruby. Is there an equivalent for PHP that will run my unit tests after my code has been updated? I am using PHPUnit and Eclipse.
+2
A:
You could use watchr to watch your directory and run phpunit whenever a file changes.
Here's a quick script I wrote, you can customize it to your own directory structure: http://gist.github.com/287950
2010-01-27 15:48:04
A:
I needed a quick hack for my Zend Framework application and PHPUnit, and I also used watchr.
Here are the details: http://exviva.posterous.com/autotest-like-phpunit-runner-for-a-zend-frame. Hope you'll find it useful.
Olek
2010-08-30 08:14:23