Issue
We're using Scala + Maven + ScalaTest runner + Jenkins. We have JUnit-style XML output going here:
test_dir/target/scalatest-reports/
Right now we can see entire build pass/fail, or dig through the verbose Console Output to see test pass/fail (not ideal), but I'm sure there's a better way.
I've tried several of the post-build steps such as:
- Aggregate downstream test results
- Publish xUnit test result report
But can't get a table of test results working.
Solution
You should better describe your symptoms. JUnit-style XML report is the basic form of test report supported by Jenkins/Hudson, so I suppose the problem is relatively simple. Please compare your configuration with the following example:
I would suggest the following:
- Check you configuration (it is likely jenkins is not able to find the actual report file)
- Look through the console output to make sure there is no warning message related to XML report file
- Verify XML report is not empty and valid
- Try to use JUnitReport tasks to generate HTML form
- Finally, switch to TestNG if you can
Answered By - Renat Gilmanov Answer Checked By - Marilyn (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.