Package org.jbehave.core.embedder
Class StoryControls
java.lang.Object
org.jbehave.core.embedder.StoryControls
Holds flags used to control story execution flow.
storyIndexFormat
story index format usingDecimalFormat
. Default value: " [0]" (minimum one integer digit in square brackets)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoDryRun
(boolean dryRun) doIgnoreMetaFiltersIfGivenStory
(boolean ignoreMetaFiltersIfGivenStory) doMetaByRow
(boolean metaByRow) doResetStateBeforeScenario
(boolean resetStateBeforeScenario) doResetStateBeforeStory
(boolean resetStateBeforeStory) doSkipBeforeAndAfterScenarioStepsIfGivenStory
(boolean skipBeforeAndAfterScenarioStepsIfGivenStory) doSkipScenariosAfterFailure
(boolean skipScenariosAfterFailure) doSkipStoryIfGivenStoryFailed
(boolean skipStoryIfGivenStoryFailed) boolean
dryRun()
boolean
boolean
void
boolean
boolean
boolean
boolean
boolean
toString()
useScenarioMetaPrefix
(String scenarioMetaPrefix) useStoryIndexFormat
(NumberFormat storyIndexFormat) useStoryMetaPrefix
(String storyMetaPrefix)
-
Constructor Details
-
StoryControls
-
StoryControls
public StoryControls()
-
-
Method Details
-
currentStoryControls
-
dryRun
public boolean dryRun() -
resetStateBeforeStory
public boolean resetStateBeforeStory() -
resetStateBeforeScenario
public boolean resetStateBeforeScenario() -
resetCurrentStoryControls
public void resetCurrentStoryControls() -
skipScenariosAfterFailure
public boolean skipScenariosAfterFailure() -
skipBeforeAndAfterScenarioStepsIfGivenStory
public boolean skipBeforeAndAfterScenarioStepsIfGivenStory() -
ignoreMetaFiltersIfGivenStory
public boolean ignoreMetaFiltersIfGivenStory() -
metaByRow
public boolean metaByRow() -
storyMetaPrefix
-
scenarioMetaPrefix
-
skipStoryIfGivenStoryFailed
public boolean skipStoryIfGivenStoryFailed() -
storyIndexFormat
-
doDryRun
-
doResetStateBeforeScenario
-
doResetStateBeforeStory
-
doSkipScenariosAfterFailure
-
doSkipBeforeAndAfterScenarioStepsIfGivenStory
public StoryControls doSkipBeforeAndAfterScenarioStepsIfGivenStory(boolean skipBeforeAndAfterScenarioStepsIfGivenStory) -
doIgnoreMetaFiltersIfGivenStory
-
doMetaByRow
-
useStoryMetaPrefix
-
useScenarioMetaPrefix
-
doSkipStoryIfGivenStoryFailed
-
useStoryIndexFormat
-
toString
-