# 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

#### Since

2.6

#### Parameters

descriptors

The OperationDescriptor defining one or more tests.