gradle
8.2

# excludeTestsMatching

abstract fun excludeTestsMatching(testNamePattern: String): TestFilter

Appends a test name pattern to the exclusion filter. Wildcard '*' is supported, either test method name or class name is supported. Examples of test names: "com.foo.FooTest.someMethod", "com.foo.FooTest", "*FooTest*", "com.foo*", "*someTestMethod". See examples in the docs for TestFilter.

#### Return

this filter object

#### Parameters

testNamePattern

test name pattern to exclude, can be class or method name, can contain wildcard '*'