Annotation Type BeforeScenario


  • @Documented
    @Retention(RUNTIME)
    @Target(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