docs.gradle.org

  • 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.

    boolean

    Returns 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.

    void

    setFailOnNoMatchingTests (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

Read the original on docs.gradle.org ↗