@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
@Documented
public @interface Description
@Description
annotation can also be used to
change the representation of a step method or test method.
This value is then used in the generated report
instead of using the method name.
Note that this usage of this annotation is deprecated and you should use
the As
annotation instead.As
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
The description of the test class.
|