[GRADLE-2527] Test class detection not working for custom Test tasks Created: 23/Oct/12 Updated: 04/Jan/13 Resolved: 01/Nov/12 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 1.3-rc-1 |
Type: | Bug | ||
Reporter: | René Gröschke (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Attachments: | test-detection.zip |
Description |
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. |