# JUnitXmlReport

interface JUnitXmlReport : DirectoryReport(source)

The JUnit XML files, commonly used to communicate results to CI servers.

#### See also

TestTaskReports

## Properties

NAMER
Link copied to clipboard
val NAMER: Namer<Report>

## Functions

configure
Link copied to clipboard
abstract fun configure(cl: Closure): T
getDisplayName
Link copied to clipboard
@Input
abstract fun getDisplayName(): String
A more descriptive name of this report.
getEntryPoint
Link copied to clipboard
@Internal
abstract fun getEntryPoint(): File
Returns the entry point of a directory based Report This can be the index.
getIncludeSystemErrLog
Link copied to clipboard
@Input
@Incubating
abstract fun getIncludeSystemErrLog(): Property<Boolean>
Decide to include or omit the system err log in the XML report.
getIncludeSystemOutLog
Link copied to clipboard
@Input
@Incubating
abstract fun getIncludeSystemOutLog(): Property<Boolean>
Decide to include or omit the system out log in the XML report.
getIsOutputPerTestCase
Link copied to clipboard
@Internal
open fun getIsOutputPerTestCase(): Property<Boolean>
Used for Kotlin backward source compatibility after migration to Provider API.
getMergeReruns
Link copied to clipboard
@Input
abstract fun getMergeReruns(): Property<Boolean>
Whether reruns or retries of a test should be merged into a combined testcase.
getName
Link copied to clipboard
@Input
abstract fun getName(): String
The symbolic name of this report.
getOutputLocation
Link copied to clipboard
@OutputDirectory
abstract fun getOutputLocation(): DirectoryProperty
@Internal(value = "Implementations need to add the correct annotation, @OutputDirectory or @OutputFile")
abstract fun getOutputLocation(): Property<out FileSystemLocation>
The location on the filesystem to generate the report to.
getOutputPerTestCase
Link copied to clipboard
@Input
abstract fun getOutputPerTestCase(): Property<Boolean>
Should the output be associated with individual test cases instead of at the suite level.
getOutputType
Link copied to clipboard
abstract fun getOutputType(): Report.OutputType
Always returns DIRECTORY
getRequired
Link copied to clipboard
@Input
abstract fun getRequired(): Property<Boolean>
A flag that determines whether this report should be generated or not.
setOutputPerTestCase
Link copied to clipboard
abstract fun setOutputPerTestCase(outputPerTestCase: Boolean)
Should the output be associated with individual test cases instead of at the suite level.