# 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

#### Since

7.6

#### Parameters

cls

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

method

The name of the target method.