@Target(value={METHOD,TYPE,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Documented @Inherited @Repeatable(value=TagList.class) @API(status=STABLE, since="1.0") public @interface Tag
@Tag("a tag")
to give test classes, groups and methods an (additional) tag
which can later be used to select the set of tests to execute.
A tag on a container class is also "applied" to all property methods and nested containers.
You can have many tags on the same element.
Tags on the JUnit platform must obey a few rules:
,
: comma(
: left parenthesis)
: right parenthesis&
: ampersand|
: vertical bar!
: exclamation point
Note that using JUnit Jupiter's annotation org.junit.jupiter.api.Tag
does not work with jqwik.
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value |