Testing multiple classes with PHPUnit

zordon

New Member
This might be a stupid question, but I can't seem to make it to work.I'm using PHPUnit to test. Currently I have two classes in a file called Tests.php:\[code\]class XTest extends PHPUnit_Framework_TestCase {...}class YTest extends PHPUnit_Framework_TestCase {...}\[/code\]However, I'm unable to run both classes. I'm running the following command on Windows:\[code\]php "C:\Program Files (x86)\PHP\phpunit" Tests\[/code\]And it tries to run a test class called "Tests". Instead, I'd like it to run "XTest" and "YTest" and all that are on the file. How could I run multiple test classes easily?
 
Back
Top