Package-level declarations

The unit testing org.gradle.api.Task implementations.

Types

Link copied to clipboard
@DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly")
abstract class AbstractTestTask : ConventionTask, VerificationTask, Reporting<T>
Abstract class for all test tasks.
Link copied to clipboard
A container for the inputs of an aggregated test report.
Link copied to clipboard
Reports test events, and child test event reporters.
Link copied to clipboard
The JUnit XML files, commonly used to communicate results to CI servers.
Link copied to clipboard
Executes JUnit (3.8.x, 4.x or 5.x) or TestNG tests.
Link copied to clipboard
Describes a test.
Link copied to clipboard
Reports test events.
Link copied to clipboard
@ServiceScope(value = Build::class)
interface TestEventReporterFactory
A service that provides access to the test event reporting API.
Link copied to clipboard
A TestExecutionException is thrown when no tests can be found that match the specified test filters.
Link copied to clipboard
abstract class TestFailure
Describes a test failure.
Link copied to clipboard
Contains serializable structural information about a test failure.
Link copied to clipboard
interface TestFilter
Allows filtering tests for execution.
Link copied to clipboard
The base class for any test framework specific options.
Link copied to clipboard
interface TestListener
Interface for listening to test execution.
Link copied to clipboard
interface TestOutputEvent
Standard output or standard error message logged during the execution of the test
Link copied to clipboard
Listens to the output events like printing to standard output or error
Link copied to clipboard
@DisableCachingByDefault(because = "Not made cacheable, yet")
abstract class TestReport : DefaultTask
Generates an HTML test report from the results of one or more Test tasks.
Link copied to clipboard
interface TestResult
Describes a test result.
Link copied to clipboard
The reports produced by the Test task.