# Package org.gradle.api.tasks.testing

The unit testing `Task` implementations.

- Interface Summary
  Interface | Description
  --- | ---
  JUnitXmlReport | The JUnit XML files, commonly used to communicate results to CI servers.
  TestDescriptor | Describes a test.
  TestFilter | Allows filtering tests for execution.
  TestListener | Interface for listening to test execution.
  TestOutputEvent | Standard output or standard error message logged during the execution of the test
  TestOutputListener | Listens to the output events like printing to standard output or error
  TestResult | Describes a test result.
  TestTaskReports | The reports produced by the `Test` task.

- Class Summary
  Class | Description
  --- | ---
  AbstractTestTask | Abstract class for all test tasks.
  Test | Executes JUnit (3.8.x, 4.x or 5.x) or TestNG tests.
  TestFrameworkOptions | The base class for any test framework specific options.
  TestReport | Generates an HTML test report from the results of one or more `Test` tasks.

- Enum Summary
  Enum | Description
  --- | ---
  TestOutputEvent.Destination | Destination of the message
  TestResult.ResultType | The final status of a test.

- Exception Summary
  Exception | Description
  --- | ---
  TestExecutionException | A `TestExecutionException` is thrown when no tests can be found that match the specified test filters.