@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
@Documented
public @interface As
Note that the '$' character keeps its special meaning and will be replaced with step arguments
@As("some (complicated) step")
public SELF some_complicated_step() {
...
}
@As("Some 'special' scenario description")
@Test
public void some_special_scenario_description() {
...
}
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
value
The alternate representation of the step or scenario summary.
|