protected class UnitilsStepCreator.UnitilsFailureStep
extends org.jbehave.core.steps.StepCreator.UponFailureStep
AfterScenario.Outcome you can define when this scenario step should be invoked. This method
will only run when there is a previous step that fails.| Constructor and Description |
|---|
UnitilsStepCreator.UnitilsFailureStep(Method method,
org.jbehave.core.model.Meta storyAndScenarioMeta) |
UnitilsStepCreator.UnitilsFailureStep(Method method,
org.jbehave.core.model.Meta storyAndScenarioMeta,
org.jbehave.core.steps.BeforeOrAfterStep beforeOrAfterStep) |
| Modifier and Type | Method and Description |
|---|---|
String |
asString(org.jbehave.core.configuration.Keywords keywords) |
org.jbehave.core.steps.StepResult |
doNotPerform(org.jbehave.core.failures.UUIDExceptionWrapper storyFailureIfItHappened) |
org.jbehave.core.steps.StepResult |
perform(org.jbehave.core.failures.UUIDExceptionWrapper storyFailureIfItHappened) |
public UnitilsStepCreator.UnitilsFailureStep(Method method, org.jbehave.core.model.Meta storyAndScenarioMeta, org.jbehave.core.steps.BeforeOrAfterStep beforeOrAfterStep)
method - : the methodstoryAndScenarioMeta - : The Meta defined in the story and scenariobeforeOrAfterStep - : a BeforeOrAfterSteppublic UnitilsStepCreator.UnitilsFailureStep(Method method, org.jbehave.core.model.Meta storyAndScenarioMeta)
method - : the methodstoryAndScenarioMeta - : The Meta defined in the story and scenariopublic org.jbehave.core.steps.StepResult doNotPerform(org.jbehave.core.failures.UUIDExceptionWrapper storyFailureIfItHappened)
doNotPerform in interface org.jbehave.core.steps.StepdoNotPerform in class org.jbehave.core.steps.StepCreator.UponFailureSteppublic org.jbehave.core.steps.StepResult perform(org.jbehave.core.failures.UUIDExceptionWrapper storyFailureIfItHappened)
perform in interface org.jbehave.core.steps.Stepperform in class org.jbehave.core.steps.StepCreator.UponFailureSteppublic String asString(org.jbehave.core.configuration.Keywords keywords)
asString in interface org.jbehave.core.steps.StepasString in class org.jbehave.core.steps.StepCreator.UponFailureStepCopyright © 2015. All Rights Reserved.