Annotation Type ScenarioStage


  • @Documented
    @Retention(RUNTIME)
    @Target(FIELD)
    public @interface ScenarioStage
    Marks fields to be stage instances This is useful to reuse stages within stages. It can also be used to inject stages into test classes, for example, when more than three step definition classes are needed
     @ScenarioStage
     MyStage stage;