Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4 (2.0 plugin)
-
None
-
None
Description
some people use inner classes for junit tests since they have access to private variables in the unit tests.
for my particular case we have all unit tests called Foo$TEST
in the DirectoryBattery there was a default excludes that was always getting added to exclude inner classes...so the patch attached moves this default exclusion to the listing of default excluders in the maven-surefire-plugin and removed the forced exclusion.
Attachments
Attachments
Issue Links
- is related to
-
SUREFIRE-44 Inner class inclusion too powerful
- Closed
-
SUREFIRE-66 JUnitBattery dies when TestSuite has an anonymous inner class
- Closed