[GRADLE-2527] Test class detection not working for custom Test tasks Created: 23/Oct/12 Updated: 04/Jan/13 Resolved: 01/Nov/12
|Reporter:||René Gröschke (Inactive)||Assignee:||Unassigned|
The attached archive includes a reproducable example. It seems that calling explicitly useJUnit causes a missconfiguraton of the testclassdetector. The testclassdetector points to the outputfolder of compileTestJava instead of the testClassesDir of the task. a workaround is to call useJUnit after the testClassesDir property of the task is set.