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.

excludeTest

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

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

Return

this filter object

Since

5.0

Parameters

className

the class name of the test to exclude

methodName

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