Top Description Methods
org.junit.platform.suite.api

public @Interface IncludeClassNamePatterns

extends Annotation
Annotations
@Retention:RUNTIME
@Target:TYPE
@Inherited
@Documented
@API
status:MAINTAINED
since:1.0
Static Imports
org.apiguardian.api.API.Status.MAINTAINED

@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.

Since
1.0
See Also
Suite, org.junit.platform.engine.discovery.ClassNameFilter#STANDARD_INCLUDE_PATTERN, org.junit.platform.engine.discovery.ClassNameFilter#includeClassNamePatterns

Method Summary

Modifier and TypeMethod and Description
public String[]
value()

Regular expressions used to match against fully qualified class names.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String[] value()

Regular expressions used to match against fully qualified class names.

The default pattern matches against classes whose names either begin with Test or end with Test or Tests (in any package).