Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.4 (2.0 plugin)
-
Fix Version/s: 1.5.2 (2.1.2 plugin)
-
Component/s: None
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
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
Issue Links
| This issue is related to: | ||||
| SUREFIRE-66 | JUnitBattery dies when TestSuite has an anonymous inner class |
|
|
|
| SUREFIRE-44 | Inner class inclusion too powerful |
|
|
|
oh, and I had the assumption that the maven-surefire-plugin is the only thing using surefire....if it isn't I can adjust accordingly