@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @Repeatable(value=Tags.class) @API(value=Maintained) public @interface Tag
@Tag
is a repeatable annotation that is
used to declare a tag for the annotated test class or test method.
Tags are used to filter which tests are executed for a given test
plan. For example, a development team may tag tests with values such as
"fast"
, "slow"
, "ci-server"
, etc. and then supply
a list of tags to be used for the current test plan, potentially
dependent on the current environment.
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
The tag.
|