# Package org.gradle.api.tasks.testing

package org.gradle.api.tasks.testing
The unit testing `Task` implementations.

- Related Packages
  Package
  Description
  org.gradle.api.tasks
  The standard `Task` implementations.
  org.gradle.api.tasks.testing.junit
  JUnit specific testing classes.
  org.gradle.api.tasks.testing.junitplatform
  org.gradle.api.tasks.testing.logging
  Types related to logging of test related information to the console.
  org.gradle.api.tasks.testing.source
  Defines different test sources that can be associated to tests.
  org.gradle.api.tasks.testing.testng
  TestNG specific testing classes.
- Class
  Description
  AbstractTestTask
  Abstract class for all test tasks.
  AggregateTestReport
  A container for the inputs of an aggregated test report.
  GroupTestEventReporter
  Reports test events, and child test event reporters.
  JUnitXmlReport
  The JUnit XML files, commonly used to communicate results to CI servers.
  Test
  Executes JUnit (3.8.x, 4.x or 5.x) or TestNG tests.
  TestDescriptor
  Describes a test.
  TestEventReporter
  Reports test events.
  TestEventReporterFactory
  A service that provides access to the test event reporting API.
  TestExecutionException
  A `TestExecutionException` is thrown when no tests can be found that match the specified test filters.
  TestFailure
  Describes a test failure.
  TestFailureDetails
  Contains serializable structural information about a test failure.
  TestFileAttachmentDataEvent
  File attachment data published by a test.
  TestFilter
  Allows filtering tests for execution.
  TestFrameworkOptions
  The base class for any test framework specific options.
  TestKeyValueDataEvent
  Key-value data published by a test.
  TestListener
  Interface for listening to test execution.
  TestMetadataEvent
  Metadata captured during the execution of a test.
  TestMetadataListener
  Listens to the metadata events like reporting key-value pairs or file attachments during test execution.
  TestOutputEvent
  Standard output or standard error message logged during the execution of the test
  TestOutputEvent.Destination
  Destination of the message
  TestOutputListener
  Listens to the output events like printing to standard output or error
  TestReport
  Generates an HTML test report from the results of one or more `Test` tasks.
  TestResult
  Describes a test result.
  TestResult.ResultType
  The final status of a test.
  TestTaskReports
  The reports produced by the `Test` task.