Interface TestDistributionExtension.RestrictedExecutionCriteria
-
- Enclosing interface:
- TestDistributionExtension
public static interface TestDistributionExtension.RestrictedExecutionCriteria
A set of criteria for specifying which tests must run on local or remote executors only.By default, tests have no restriction where they can run.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SetProperty<java.lang.String>
getIncludeAnnotationClasses()
The patterns used to include tests based on their class level annotations.SetProperty<java.lang.String>
getIncludeClasses()
The patterns used to include tests based on their class name.
-
-
-
Method Detail
-
getIncludeClasses
SetProperty<java.lang.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.
-
getIncludeAnnotationClasses
SetProperty<java.lang.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
@Inherited
are considered when inspecting subclasses.
-
-