api / org.gradle.tooling / TestLauncher / withTests

withTests

abstract fun withTests(vararg descriptors: TestOperationDescriptor): TestLauncher
abstract fun withTests(descriptors: MutableIterable<TestOperationDescriptor>): TestLauncher

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

Parameters

descriptors - The OperationDescriptor defining one or more tests.

Return
this

Since
2.6