@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
@Documented
@API(status=MAINTAINED,
since="1.0")
public @interface IncludeClassNamePatterns
@IncludeClassNamePatterns
specifies regular expressions that are used
to match against fully qualified class names when running a test suite on the
JUnit Platform.
The patterns are combined using OR semantics: if the fully qualified name of a class matches against at least one of the patterns, the class will be included in the test plan.
Test suites can be run on the JUnit Platform in a JUnit 4 environment via
@RunWith(JUnitPlatform.class)
.
SuiteDisplayName
,
UseTechnicalNames
,
SelectPackages
,
SelectClasses
,
ExcludeClassNamePatterns
,
IncludePackages
,
ExcludePackages
,
IncludeTags
,
ExcludeTags
,
IncludeEngines
,
ExcludeEngines
,
ClassNameFilter.STANDARD_INCLUDE_PATTERN
,
ClassNameFilter.includeClassNamePatterns(java.lang.String...)
,
JUnitPlatform
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
value
Regular expressions used to match against fully qualified class names.
|