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.

includeTest

abstract fun includeTest(className: String, methodName: String): TestFilter(source)

Add a test method specified by test class name and method name.

Return

this filter object

Since

2.6

Parameters

className

the class name of the test to execute

methodName

the method name of the test to execute. Can be null.