Interface TestRetryTaskExtension.Filter
- Enclosing interface:
- TestRetryTaskExtension
By default, all tests are eligible for retrying.
-
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.SetProperty<String>The patterns used to exclude tests based on their class level annotations.org.gradle.api.provider.SetProperty<String>The patterns used to exclude tests based on their class name.org.gradle.api.provider.SetProperty<String>The patterns used to include tests based on their class level annotations.org.gradle.api.provider.SetProperty<String>The patterns used to include tests based on their class name.
-
Method Details
-
getIncludeClasses
org.gradle.api.provider.SetProperty<String> getIncludeClasses()The patterns used to include tests based on their class name.The pattern string matches against qualified class names. It may contain '*' characters, which match zero or more of any character.
A class name only has to match one pattern to be included.
If no patterns are specified, all classes (that also meet other configured filters) will be included.
-
getIncludeAnnotationClasses
org.gradle.api.provider.SetProperty<String> getIncludeAnnotationClasses()The patterns used to include tests based on their class level annotations.The pattern string matches against the qualified class names of a test class's annotations. It may contain '*' characters, which match zero or more of any character.
A class need only have one annotation matching any of the patterns to be included.
Annotations present on super classes that are
@Inheritedare considered when inspecting subclasses.If no patterns are specified, all classes (that also meet other configured filters) will be included.
-
getExcludeClasses
org.gradle.api.provider.SetProperty<String> getExcludeClasses()The patterns used to exclude tests based on their class name.The pattern string matches against qualified class names. It may contain '*' characters, which match zero or more of any character.
A class name only has to match one pattern to be excluded.
If no patterns are specified, all classes (that also meet other configured filters) will be included.
-
getExcludeAnnotationClasses
org.gradle.api.provider.SetProperty<String> getExcludeAnnotationClasses()The patterns used to exclude tests based on their class level annotations.The pattern string matches against the qualified class names of a test class's annotations. It may contain '*' characters, which match zero or more of any character.
A class need only have one annotation matching any of the patterns to be excluded.
Annotations present on super classes that are
@Inheritedare considered when inspecting subclasses.If no patterns are specified, all classes (that also meet other configured filters) will be included.
-