@Retention(RUNTIME) @Target(TYPE) @Inherited @Documented @API(status=MAINTAINED, since="1.0") public @interface ExcludeTags
@ExcludeTags
specifies the
tags or tag expressions to be excluded 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)
.
IncludeTags
,
TagFilter.excludeTags(java.lang.String...)
,
JUnitPlatform
Modifier and Type | Required Element | Description |
---|---|---|
java.lang.String[] |
value |
One or more tags to exclude.
|
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).