Module org.junit.platform.suite.api
Package org.junit.platform.suite.api
Annotation Interface ExcludeTags
@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
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.
Syntax Rules for Tags
- A tag must not be blank.
- A trimmed tag must not contain whitespace.
- A trimmed tag must not contain ISO control characters.
- A trimmed tag must not contain reserved characters.
Reserved characters that are not permissible as part of a tag name.
","
"("
")"
"&"
"|"
"!"
- Since:
- 1.0
- See Also:
Suite
,JUnitPlatform
,TagFilter.excludeTags(java.lang.String...)
-
Required Element Summary
-
Element Details
-
value
String[] valueOne or more tags to exclude.Note: each tag will be trimmed and validated according to the Syntax Rules for Tags (see class-level Javadoc for details).
-