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
It appears that the class CreateTestsQueueFromPhpUnitXML only handles the testsuite configuration.
This means that <groups> is ignored, and that for example some tests that you want to exclude by default aren't excluded.
The following pull request adds the handling of the @group annotation at the class level: #141
How it works: just like PHPUnit's TestRunner, it adds recursive filters to the testsuite iterator, and then we disregard a testsuite's file when its count of filtered tests is zero.
The drawback is that if the annotation @group is used only on some of the tests in a testsuite, the testsuite will still be executed entirely. Changing that behaviour implies the need for more extensive changes, and I don't know if those are relevant yet.
The text was updated successfully, but these errors were encountered:
Hello,
It appears that the class
CreateTestsQueueFromPhpUnitXML
only handles the testsuite configuration.This means that
<groups>
is ignored, and that for example some tests that you want to exclude by default aren't excluded.The following pull request adds the handling of the
@group
annotation at the class level: #141How it works: just like PHPUnit's TestRunner, it adds recursive filters to the testsuite iterator, and then we disregard a testsuite's file when its count of filtered tests is zero.
The drawback is that if the annotation
@group
is used only on some of the tests in a testsuite, the testsuite will still be executed entirely. Changing that behaviour implies the need for more extensive changes, and I don't know if those are relevant yet.The text was updated successfully, but these errors were encountered: