Package org.jbehave.core.steps
Class MarkUnmatchedStepsAsPending
- java.lang.Object
-
- org.jbehave.core.steps.MarkUnmatchedStepsAsPending
-
- All Implemented Interfaces:
StepCollector
public class MarkUnmatchedStepsAsPending extends Object implements StepCollector
StepCollector that marks unmatched steps asAbstractStepResult.Pending. It uses aStepFinderto prioritiseStepCandidates.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jbehave.core.steps.StepCollector
StepCollector.Stage
-
-
Constructor Summary
Constructors Constructor Description MarkUnmatchedStepsAsPending()MarkUnmatchedStepsAsPending(StepFinder stepFinder)MarkUnmatchedStepsAsPending(StepFinder stepFinder, Keywords keywords)
-
Method Summary
Modifier and Type Method Description List<Step>collectAfterScenarioSteps(List<BeforeOrAfterStep> afterScenarioSteps, Meta storyAndScenarioMeta)Creates steps to be executed after scenario.List<Step>collectBeforeOrAfterStoriesSteps(List<BeforeOrAfterStep> beforeOrAfterStoriesSteps)Creates steps to be executed either before or after stories.List<Step>collectBeforeOrAfterStorySteps(List<BeforeOrAfterStep> beforeOrAfterStorySteps, Meta storyMeta)Creates steps to be executed either before or after story.List<Step>collectBeforeScenarioSteps(List<BeforeOrAfterStep> beforeScenarioSteps, Meta storyAndScenarioMeta)Creates steps to be executed before scenario.Map<StepCollector.Stage,List<Step>>collectLifecycleSteps(List<StepCandidate> stepCandidates, Lifecycle lifecycle, Meta storyAndScenarioMeta, Scope scope, StepMonitor stepMonitor)Collects all lifecycle steps to execute perStepCollector.Stageof executionList<Step>collectScenarioSteps(List<StepCandidate> stepCandidates, Scenario scenario, Map<String,String> parameters, StepMonitor stepMonitor)Collects all of theSteps to execute for a scenario.
-
-
-
Constructor Detail
-
MarkUnmatchedStepsAsPending
public MarkUnmatchedStepsAsPending()
-
MarkUnmatchedStepsAsPending
public MarkUnmatchedStepsAsPending(StepFinder stepFinder)
-
MarkUnmatchedStepsAsPending
public MarkUnmatchedStepsAsPending(StepFinder stepFinder, Keywords keywords)
-
-
Method Detail
-
collectBeforeOrAfterStoriesSteps
public List<Step> collectBeforeOrAfterStoriesSteps(List<BeforeOrAfterStep> beforeOrAfterStoriesSteps)
Description copied from interface:StepCollectorCreates steps to be executed either before or after stories.- Specified by:
collectBeforeOrAfterStoriesStepsin interfaceStepCollector- Parameters:
beforeOrAfterStoriesSteps- theBeforeOrAfterSteps- Returns:
- A List of the executable
Steps
-
collectBeforeOrAfterStorySteps
public List<Step> collectBeforeOrAfterStorySteps(List<BeforeOrAfterStep> beforeOrAfterStorySteps, Meta storyMeta)
Description copied from interface:StepCollectorCreates steps to be executed either before or after story.- Specified by:
collectBeforeOrAfterStoryStepsin interfaceStepCollector- Parameters:
beforeOrAfterStorySteps- theBeforeOrAfterStepsstoryMeta- the storyMetaparameters- Returns:
- A List of the executable
Steps
-
collectBeforeScenarioSteps
public List<Step> collectBeforeScenarioSteps(List<BeforeOrAfterStep> beforeScenarioSteps, Meta storyAndScenarioMeta)
Description copied from interface:StepCollectorCreates steps to be executed before scenario.- Specified by:
collectBeforeScenarioStepsin interfaceStepCollector- Parameters:
beforeScenarioSteps- theBeforeOrAfterStepsstoryAndScenarioMeta- the story and scenarioMetaparameters- Returns:
- A List of the executable
Steps
-
collectAfterScenarioSteps
public List<Step> collectAfterScenarioSteps(List<BeforeOrAfterStep> afterScenarioSteps, Meta storyAndScenarioMeta)
Description copied from interface:StepCollectorCreates steps to be executed after scenario.- Specified by:
collectAfterScenarioStepsin interfaceStepCollector- Parameters:
afterScenarioSteps- theBeforeOrAfterStepsstoryAndScenarioMeta- the story and scenarioMetaparameters- Returns:
- A List of the executable
Steps
-
collectLifecycleSteps
public Map<StepCollector.Stage,List<Step>> collectLifecycleSteps(List<StepCandidate> stepCandidates, Lifecycle lifecycle, Meta storyAndScenarioMeta, Scope scope, StepMonitor stepMonitor)
Description copied from interface:StepCollectorCollects all lifecycle steps to execute perStepCollector.Stageof execution- Specified by:
collectLifecycleStepsin interfaceStepCollector- Parameters:
stepCandidates- theStepCandidateslifecycle- theLifecyclestoryAndScenarioMeta- the story and scenarioMetaparametersscope- theScopeof the lifecycle stepsstepMonitor- theStepMonitor- Returns:
- A List of executable
Steps
-
collectScenarioSteps
public List<Step> collectScenarioSteps(List<StepCandidate> stepCandidates, Scenario scenario, Map<String,String> parameters, StepMonitor stepMonitor)
Description copied from interface:StepCollectorCollects all of theSteps to execute for a scenario.- Specified by:
collectScenarioStepsin interfaceStepCollector- Parameters:
stepCandidates- theStepCandidatescenario- theScenarioparameters- the parametersstepMonitor- theStepMonitor- Returns:
- A List of executable
Steps
-
-