Issue Type: Improvement Improvement
Affects Versions: current
Assignee: nalin_makar
Components: testng
Created: 12/Dec/12 6:24 PM
Description:

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.

Project: Jenkins
Priority: Major Major
Reporter: Chris Cooper
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to