Package: org.gradle.api.tasks.testing

## [Java] Interface TestTaskReports

- org.gradle.api.reporting.ReportContainer

- All Superinterfaces:
    NamedDomainObjectSet, Iterable, DomainObjectCollection, Collection, NamedDomainObjectCollection, Configurable, ReportContainer

  The reports produced by the Test task.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `DirectoryReport` | `getHtml()` A HTML report indicate the results of the test execution.
    `JUnitXmlReport` | `getJunitXml()` The test results in “JUnit XML” format.

  - ### Inherited Methods Summary

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

- - ### Method Detail

    - #### public DirectoryReport getHtml()

      A HTML report indicate the results of the test execution.

      Returns:
        The HTML report

    - #### public JUnitXmlReport getJunitXml()

      The test results in “JUnit XML” format.

      Returns:
        The test results in “JUnit XML” format