You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running PHPUnit with --testdox, test classes that do not contain any actual tests (yet), cause a rather confusing, not helpful output:
class SampleTest extends PHPUnit_Framework_Testcase {}
theseer@nyda ~/testdox $ phpunit --testdox SampleTest.php
PHPUnit 4.6.9 by Sebastian Bergmann and contributors.
PHPUnit_Framework_Warning
[ ] Warning
This gets even more confusing when there are multiple empty test classes as they all get mangled into one output:
theseer@nyda ~/testdox $ phpunit .
PHPUnit 4.6.9 by Sebastian Bergmann and contributors.
FF
Time: 154 ms, Memory: 13.25Mb
There were 2 failures:
1) Warning
No tests found in class "OtherTest".
2) Warning
No tests found in class "SampleTest".
FAILURES!
Tests: 2, Assertions: 0, Failures: 2.
theseer@nyda ~/testdox $ phpunit --testdox .
PHPUnit 4.6.9 by Sebastian Bergmann and contributors.
PHPUnit_Framework_Warning
[ ] Warning
The text was updated successfully, but these errors were encountered:
When running PHPUnit with --testdox, test classes that do not contain any actual tests (yet), cause a rather confusing, not helpful output:
theseer@nyda ~/testdox $ phpunit --testdox SampleTest.php PHPUnit 4.6.9 by Sebastian Bergmann and contributors. PHPUnit_Framework_Warning [ ] Warning
This gets even more confusing when there are multiple empty test classes as they all get mangled into one output:
The text was updated successfully, but these errors were encountered: