Added --testsuite argument, allowing to filter files/directory by parent testsuite name attribute#494
Added --testsuite argument, allowing to filter files/directory by parent testsuite name attribute#494jpic wants to merge 1 commit intosebastianbergmann:3.6from jpic:3.6
Conversation
…ent testsuite name attribute
|
What would work right now for filtering is |
|
This is a new feature. As such it cannto go into the PHPUnit 3.6 branch. Please send a pull request against |
|
@edorian No, that doesn't work here! <<< 17:24.17 Thu Feb 09 2012!~/zeta/trunk
Configuration read from /home/jpic/zeta/trunk/phpunit.xml.dist Time: 0 seconds, Memory: 4.00Mb OK (0 tests, 0 assertions) |
|
New pull request: #495 |
|
@jpic Oh yeah, because of the |
Before, we could run the test suite of a component as such: UnitTest/src/runtests.php Database
But the new test runner does not allow this. For example, consider this phpunit.xml.dist: https://fisheye6.atlassian.com/browse/zetacomponents/trunk/phpunit.xml.dist?hb=true
Phpunit --filter Database will not behave as expected in two ways:
As a more alarming example: --filter MvcTools runs 124 tests, wheras --testsuite MvcTools runs 168.
Credit to Derick Rethans who participated in this little task. Long live the Components !