Configurable<Report>, ConfigurableReport, DirectoryReport, Reportpublic interface JUnitXmlReport extends DirectoryReport
TestTaskReports.getJunitXml()Report.OutputType| Modifier and Type | Method | Description |
|---|---|---|
Property<java.lang.Boolean> |
getIncludeSystemErrLog() |
Decide to include or omit the system err log in the XML report.
|
Property<java.lang.Boolean> |
getIncludeSystemOutLog() |
Decide to include or omit the system out log in the XML report.
|
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.
|
configuresetDestinationgetEntryPoint, getOutputLocation, getOutputTypegetDisplayName, getName, getRequired@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>.@Input @Incubating Property<java.lang.Boolean> getIncludeSystemOutLog()
@Input @Incubating Property<java.lang.Boolean> getIncludeSystemErrLog()