Package org.jbehave.core.steps
Class BeforeOrAfterStep
java.lang.Object
org.jbehave.core.steps.BeforeOrAfterStep
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 Summary
ConstructorDescriptionBeforeOrAfterStep
(Method method, int order, AfterScenario.Outcome outcome, StepCreator stepCreator) -
Method Summary
Modifier and TypeMethodDescriptioncreateStepUponOutcome
(Meta storyAndScenarioMeta) createStepWith
(Meta meta) int
getOrder()
toString()
-
Constructor Details
-
BeforeOrAfterStep
public BeforeOrAfterStep(Method method, int order, AfterScenario.Outcome outcome, StepCreator stepCreator)
-
-
Method Details