Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0-M5
-
None
Description
When declare the @Disabled annotation at the class level, skip displayed in other test class。
junit5: 5.8.2
surefire: 3.0.0-M5
I have a test class like
public abstract class TagTest { @Tag("red") public static class RedTest extends TagTest { } @Disabled @Tag("orange") public static class OrangeTest extends TagTest { } @Test public void test1() { // Do Nothing } @Test public void test2() { // Do Nothing } }
Run with the following command:
mvn test -Dgroups="red|orange"
TagTest$RedTest has only 2 test case.
Attachments
Attachments
Issue Links
- is duplicated by
-
SUREFIRE-2039 Skipped test classes are getting into the non-skipped test classes reports
- Closed
- relates to
-
SUREFIRE-2143 Disabled @ParametrizedTest is not counted as skipped one in M8 (worked in M7)
- Closed
- links to