com.tngtech.jgiven.annotation
Annotation Type BeforeScenario


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface BeforeScenario

Marks methods to be executed before the whole Scenario has been executed. Essentially means that the method is executed before the first call of either given(), when(), or then().

It is guaranteed that the method is only invoked once



Copyright © 2014 TNG Technology Consulting. All rights reserved.