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

Impossible to add listeners

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.8

      Description

      When using the following configuration:

      test {
          useTestNG()
      
          options {
              listeners << 'org.testng.reporters.JUnitXMLReporter'
          }
      }
      

      Running gradle test results in the following message from TestNG:

      Cannot load class from file: [org.testng.reporters.JUnitXMLReporter]

      It seems as if the toString() of the listener list is passed as a parameter, whereas a join(', ') should be applied first.

        Attachments

          Activity

            People

            Assignee:
            teyckmans Tom Eyckmans
            Reporter:
            levi_h Levi Hoogenberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: