@Retention(value=RUNTIME) @Target(value=TYPE) @Inherited @Documented @API(value=Maintained) public @interface IncludeClassNamePatterns
@IncludeClassNamePatterns
specifies regular expressions that are used
to match against fully qualified class names when running a test suite via
@RunWith(JUnitPlatform.class)
.
The patterns are combined using OR semantics, i.e. 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.
JUnitPlatform
,
ClassNameFilter.includeClassNamePatterns(java.lang.String...)
public abstract String[] value
Defaults to "^.*Tests?$"
which matches against class names
ending in Test
or Tests
(in any package).