Groovy Documentation

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

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

public interface TestReports
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, 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.7-rc-1