[GRADLE-1279] Junit test class detection includes non-static inner classes Created: 30/Dec/10 Updated: 04/Jan/13 Resolved: 30/Dec/10
|Reporter:||Russ Egan||Assignee:||Hans Dockter|
Noticed this when building a gradle build for apache commons collections. That project has a bunch of junit test classes which follow this pattern:
It's weird, and I'm not even sure how they would work...but that's not really at issue. Gradle detects those inner classes as junit test classes, but it should probably filter any inner classes which are not static, since it is impossible to instantiate them independently.