Sunday, January 31, 2010

PHPUnit recursive test runner

You can run php unit tests by pointing it at a directory:

phpunit MyTestFolder

What I did not realize is that the test files have to end in "Test.php" (I am used to a test prefix instead).  No big deal now that I know it!

No comments:

Post a Comment