Groovy Documentation

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

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

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.12-rc-2