includeTestsMatching

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

Appends a test name pattern to the inclusion 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*". See examples in the docs for TestFilter.

Return

this filter object

Parameters

testNamePattern

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