@Retention(RUNTIME) @Target(TYPE) @Inherited @Documented @API(status=MAINTAINED, since="1.0") public @interface IncludeTags
@IncludeTags
specifies the tags to be included
when running a test suite on the JUnit Platform.
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)
.
ExcludeTags
,
TagFilter.includeTags(java.lang.String...)
,
JUnitPlatform
Modifier and Type | Required Element | Description |
---|---|---|
java.lang.String[] |
value |
One or more tags to include.
|
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).