|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) @Documented public @interface Description
This annotation can be used to define an alternate description for a step method or test method. This description is then used in the generated report instead of using the method name.
Note that the '$' character keeps its special meaning and will be replaced with step arguments
@Description("some (complicated) step") public SELF some_complicated_step() { ... }
@Description("Some 'special' scenario description") @Test public void some_special_scenario_description() { ... }
Required Element Summary | |
---|---|
String |
value
The description of the step. |
Element Detail |
---|
public abstract String value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |