PHPUnit won't run tests by directory

Posted by Frank Schwieterman on Stack Overflow See other posts from Stack Overflow or by Frank Schwieterman
Published on 2010-03-21T22:46:09Z Indexed on 2010/03/21 22:51 UTC
Read the original article Hit count: 395

Filed under:

I'm new to PHP, trying to get multiple tests to run at once. I was hoping to just run all tests in a directory, which seemed to work awhile (instead of using a phpunit.xml). I am able to run a test individually like so:

phpunit FirstUnitTest sites\all\modules\experiment\unit-tests\FirstUnitTest.lua

But when I try to run the same test by directory, its not found. I try using:

phpunit sites\all\modules\experiment\unit-tests

Does anyone know why this may not work?

© Stack Overflow or respective owner

Related posts about phpunit