Configurable<Report>, ConfigurableReport, DirectoryReport, Reportpublic interface JUnitXmlReport extends DirectoryReport
TestTaskReports.getJunitXml()Report.OutputType| Modifier and Type | Method | Description |
|---|---|---|
Property<java.lang.Boolean> |
getMergeReruns() |
Whether reruns or retries of a test should be merged into a combined testcase.
|
boolean |
isOutputPerTestCase() |
Should the output be associated with individual test cases instead of at the suite level.
|
void |
setOutputPerTestCase(boolean outputPerTestCase) |
Should the output be associated with individual test cases instead of at the suite level.
|
configuresetDestination, setDestination, setEnabled, setEnabledgetEntryPoint, getOutputLocation, getOutputTypegetDestination, getDisplayName, getName, getRequired, isEnabled@Input boolean isOutputPerTestCase()
void setOutputPerTestCase(boolean outputPerTestCase)
@Input Property<java.lang.Boolean> getMergeReruns()
<flakyFailure>
instead of <failure>, within one <testcase>.
This can be important for build tooling that uses this XML to understand test results,
and where distinguishing such passed-on-retry outcomes is important.
This is the case for the Jenkins CI server and its Flaky Test Handler plugin.
This value defaults to false, causing each test execution to be a discrete <testcase>.