gradle
8.5

# withTests

abstract fun withTests(descriptors: Array<TestOperationDescriptor>): TestLauncher(source)
abstract fun withTests(descriptors: Iterable<out TestOperationDescriptor>): TestLauncher(source)

Adds tests to be executed by passing test descriptors received from a previous Gradle Run.

#### Return

this

#### Parameters

descriptors

The OperationDescriptor defining one or more tests.