excludeTestsMatching

abstract fun excludeTestsMatching(testNamePattern: String): TestFilter(source)

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

Since

5.0

Parameters

testNamePattern

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