Class BeforeOrAfterStep


public class BeforeOrAfterStep extends Object
A BeforeOrAfterStep is associated to a Java method annotated with BeforeStory, AfterStory, BeforeScenario or AfterScenario in a CandidateSteps instance class. The BeforeOrAfterStep is responsible for the creation of the executable step via the StepCreator.
  • Constructor Details

  • Method Details

    • getMethod

      public Method getMethod()
    • getOrder

      public int getOrder()
    • createStep

      public Step createStep()
    • createStepWith

      public Step createStepWith(Meta meta)
    • createStepUponOutcome

      public Step createStepUponOutcome(Meta storyAndScenarioMeta)
    • toString

      public String toString()
      toString in class Object