api / org.gradle.api.tasks.testing / TestTaskReports

TestTaskReports

interface TestTaskReports : ReportContainer<Report>

The reports produced by the Test task.

Functions

getHtml

abstract fun getHtml(): DirectoryReport

A HTML report indicate the results of the test execution.

getJunitXml

abstract fun getJunitXml(): JUnitXmlReport

The test results in “JUnit XML” format.

Inherited Functions

getAsMap

abstract fun getAsMap(): SortedMap<String, T>

getEnabled

abstract fun getEnabled(): NamedDomainObjectSet<T>

Returns an immutable collection of all the enabled Report objects in this container.

The returned collection is live. That is, as reports are enabled/disabled the returned collection always reflects the current set of enabled reports.

getEnabledReports

abstract fun getEnabledReports(): MutableMap<String, T>

Returns the enabled reports, keyed by report name.

getNamer

abstract fun getNamer(): Namer<T>

getNames

abstract fun getNames(): SortedSet<String>

getRules

abstract fun getRules(): MutableList<Rule>

isEmpty

abstract fun isEmpty(): Boolean