RSpec
A guide for generating JUnit test reports for RSpec tests
1. Generate JUnit
Install the gem:
Use it:
2. Output Location
The JUnit report will be written to the location specified by the --out
argument. In the example above, the report would be at ./junit.xml
.
Next Step
JUnit files generated with RSpec are compatible with Trunk Flaky Tests. See CI Providers for a guide on how to upload test results to Trunk.
Last updated