@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
@Documented
@API(status=MAINTAINED,
since="1.0")
public @interface IncludeTags
@IncludeTags specifies the
tags or tag expressions to be included when running a
test suite on the JUnit Platform.
Tag expressions are boolean expressions with the following allowed
operators: ! (not), & (and) and | (or). Parentheses
can be used to adjust for operator precedence. Please refer to the
JUnit 5 User Guide
for usage examples.
Reserved characters that are not permissible as part of a tag name.
",""("")""&""|""!"Test suites can be run on the JUnit Platform in a JUnit 4 environment via
@RunWith(JUnitPlatform.class).
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String[] |
value
One or more tags to include.
|
public abstract java.lang.String[] value
Note: each tag will be trimmed and validated according to the Syntax Rules for Tags (see class-level Javadoc for details).