Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-2527

Test class detection not working for custom Test tasks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3-rc-1

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            breskeby René Gröschke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: