-
Method Summary
Excludes a test method specified by test class name and method name.
Appends a test name pattern to the exclusion filter.
Returns the excluded test name patterns.
Returns the included test name patterns.
Add a test method specified by test class name and method name.
Appends a test name pattern to the inclusion filter.
booleanReturns whether the task should fail if no matching tests where found.
setExcludePatterns (String... testNamePatterns)Sets the test name patterns to be excluded in the filter.
voidsetFailOnNoMatchingTests (boolean failOnNoMatchingTests)Let the test task fail if a filter configuration was provided but no test matched the given configuration.
setIncludePatterns (String... testNamePatterns)Sets the test name patterns to be included in the filter.
-
Method Details
-
includeTestsMatching
-
excludeTestsMatching
-
getIncludePatterns
-
getExcludePatterns
-
setIncludePatterns
-
setExcludePatterns
-
includeTest
-
excludeTest
-
setFailOnNoMatchingTests
-
isFailOnNoMatchingTests
-