Groovy Documentation

org.gradle.api.tasks.testing
[Java] Interface TestTaskReports

org.gradle.api.NamedDomainObjectCollection
  org.gradle.util.Configurable
      org.gradle.api.reporting.ReportContainer
          org.gradle.api.DomainObjectCollection
              org.gradle.api.NamedDomainObjectSet
                  java.lang.Iterable
                      java.util.Collection
                          org.gradle.api.tasks.testing.TestTaskReports
All Superinterfaces:
NamedDomainObjectCollection, Configurable, ReportContainer, DomainObjectCollection, NamedDomainObjectSet, Iterable, Collection

public interface TestTaskReports
extends ReportContainer

The reports produced by the Test task.


Method Summary
DirectoryReport getHtml()

A HTML report indicate the results of the test execution.

JUnitXmlReport getJunitXml()

The test results in “JUnit XML” format.

 
Methods inherited from interface ReportContainer
getEnabled
 
Methods inherited from interface NamedDomainObjectSet
findAll, matching, matching, withType
 
Methods inherited from interface NamedDomainObjectCollection
add, addAll, addRule, addRule, findByName, getAsMap, getAt, getByName, getByName, getNamer, getNames, getRules, matching, matching, withType
 
Methods inherited from interface Set
add, equals, hashCode, clear, contains, isEmpty, size, toArray, toArray, addAll, iterator, remove, containsAll, removeAll, retainAll
 

Method Detail

getHtml

public DirectoryReport getHtml()
A HTML report indicate the results of the test execution.
Returns:
The HTML report


getJunitXml

public JUnitXmlReport getJunitXml()
The test results in “JUnit XML” format.
Returns:
The test results in “JUnit XML” format


 

Gradle API 1.8