|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Documented @Retention(value=RUNTIME) @Target(value=FIELD) public @interface ScenarioRule
Marks fields to be Scenario rules.
Scenario rules are classes with begin() and after() methods.
These methods are called like methods annotated with BeforeScenario and
AfterScenario
@ScenarioRule MyRule rule = new MyRule();
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||