Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Autotest equivalent for PHP?

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.

like image 798
Trevor Avatar asked Jan 22 '10 00:01

Trevor


2 Answers

You could use watchr to watch your directory and run phpunit whenever a file changes.

http://github.com/mynyml/watchr

like image 189
user260199 Avatar answered Oct 02 '22 11:10

user260199


hot phpunit runner

that is watcher for files and entities

can run tests for changed entities/domains and tests too

like image 38
slava Avatar answered Oct 02 '22 09:10

slava