gradle
8.6

# includeMethod

abstract fun includeMethod(cls: String, method: String): TestSpec(source)

Adds the target test method to the test execution.

The target method should be selected with its fully-qualified class name and with the name of the method.

#### Return

this

#### Parameters

cls

The fully-qualified name of the class containing the method.

method

The name of the target method.