Skip to content

Instantly share code, notes, and snippets.

@threez
Created July 31, 2017 08:36
Show Gist options
  • Save threez/785e1f7d0ad1ba401c9406ed0ea992b2 to your computer and use it in GitHub Desktop.
Save threez/785e1f7d0ad1ba401c9406ed0ea992b2 to your computer and use it in GitHub Desktop.
rspec.xml with errors
<?xml version="1.0" encoding="UTF-8"?>
<!-- source https://stackoverflow.com/questions/4922867/junit-xml-format-specification-that-hudson-supports -->
<testsuite>
<!-- if your classname does not include a dot, the package defaults to "(root)" -->
<testcase name="my testcase" classname="my package.my classname" time="29">
<!-- If the test didn't pass, specify ONE of the following 3 cases -->
<!-- option 1 --> <skipped />
<!-- option 2 --> <failure message="my failure message">my stack trace</failure>
<!-- option 3 --> <error message="my error message">my crash report</error>
<system-out>my STDOUT dump</system-out>
<system-err>my STDERR dump</system-err>
</testcase>
</testsuite>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment