Module org.junit.platform.suite.api
Package org.junit.platform.suite.api
Annotation Interface IncludeClassNamePatterns
@Retention(RUNTIME)
@Target(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.
-
Optional Element Summary
-
Element Details
-
value
String[] valueRegular expressions used to match against fully qualified class names.The default pattern matches against classes whose names either begin with
Test
or end withTest
orTests
(in any package).- Default:
- {"^(Test.*|.+[.$]Test.*|.*Tests?)$"}
-