Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.2
-
None
Description
Given a top-level test class that inherits from TestCase.
If it, internally, declares an anonymous class, or even a named child class, surefire + junit tries to run it, and fails with a warning or an initializationError. This does not happen from the vanilla junit test runner.
Attachments
Attachments
Issue Links
- is related to
-
SUREFIRE-482 Surefire tries to run JUnit4 tests that contain no @Test annotations
- Closed