For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

includeMethods

abstract fun includeMethods(cls: String, methods: Collection<String>): TestSpec(source)

Adds the target test methods to the test execution.

Return

this

Since

7.6

Parameters

cls

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

methods

The name of the target methods.

See also