|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) @Documented public @interface As
This annotation can be used to override the default representation for a step method or test method in the report.
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() { ... }
Required Element Summary | |
---|---|
java.lang.String |
value
The alternate representation of the step or scenario summary. |
Element Detail |
---|
public abstract java.lang.String value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |