Robot Framework
A guide for generating Trunk-compatible test reports for Robot Framework
1. Generate JUnit
Add the --xunit
argument to your robot
command:
2. Output Location
The JUnit report will be written to the location specified by the --xunit
argument. In the example above, it would be at ./junit.xml
.
Disable Retries
You need to disable automatic retries if you previously enabled them. Retries compromise the accurate detection of flaky tests.
Omit the --rerunfailed
flag and remove any RetryFailed Listeners previously configured to run as part of your CI pipeline to disable retries.
Next Step
JUnit files generated with Robot Framework are compatible with Trunk Flaky Tests. See CI Providers for a guide on how to upload test results to Trunk.
Last updated