testng suite support

XMLWordPrintable

    • Type: Improvement
    • Resolution: Not A Defect
    • Priority: Major
    • Component/s: testng-plugin
    • None

      I'm surprised no one else has asked for this yet. I am using testng to run selenium through maven and we are using testng groups. This plugin doesn't collect any results for me and I'm not sure how to get it to either, because the documentation has no information about test suites.

      <plugin>
       <artifactId>maven-surefire-plugin</artifactId>
       <configuration>
        <groups>${selenium.test.groups}</groups>
        <testFailureIgnore>true</testFailureIgnore>
       </configuration>
      </plugin>
      

      Pretty basic configuration for surefire. Unless I'm missing something here, but I tried to point it to the target/surefire-reports/TEST-TestSuite.xml file and it isn't recognized as a testng result.

      TestNG Reports Processing: START
      Looking for TestNG results report in workspace using pattern: selenium/target/surefire-reports/TEST-TestSuite.xml
      Saving reports...
      Processing '/home/jenkins/.jenkins/jobs/folgers-selenium-firefox/builds/2012-12-12_11-48-59/testng/testng-results.xml'
      Found matching files but did not find any TestNG results.

            Assignee:
            nalin_makar
            Reporter:
            Chris Cooper
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: