public interface StepCollector
Step
s from a
story or scenario matching a list of CandidateSteps
. It also collects the
steps to run at before/after stages.Modifier and Type | Interface and Description |
---|---|
static class |
StepCollector.Stage |
Modifier and Type | Method and Description |
---|---|
java.util.List<Step> |
collectBeforeOrAfterScenarioSteps(java.util.List<CandidateSteps> candidateSteps,
Meta storyAndScenarioMeta,
StepCollector.Stage stage,
ScenarioType type)
Collects all of the
BeforeScenario or AfterScenario steps to execute. |
java.util.List<Step> |
collectBeforeOrAfterStoriesSteps(java.util.List<CandidateSteps> candidateSteps,
StepCollector.Stage stage)
Collects all of the
BeforeStories or AfterStories steps to execute. |
java.util.List<Step> |
collectBeforeOrAfterStorySteps(java.util.List<CandidateSteps> candidateSteps,
Story story,
StepCollector.Stage stage,
boolean givenStory)
Collects all of the
BeforeStory or AfterStory steps to execute. |
java.util.List<Step> |
collectLifecycleSteps(java.util.List<CandidateSteps> candidateSteps,
Lifecycle lifecycle,
Meta storyAndScenarioMeta,
StepCollector.Stage stage)
Collects all lifecycle steps to execute
|
java.util.List<Step> |
collectScenarioSteps(java.util.List<CandidateSteps> candidateSteps,
Scenario scenario,
java.util.Map<java.lang.String,java.lang.String> parameters)
Collects all of the
Step s to execute for a scenario. |
java.util.List<Step> collectBeforeOrAfterStoriesSteps(java.util.List<CandidateSteps> candidateSteps, StepCollector.Stage stage)
BeforeStories
or AfterStories
steps to execute.candidateSteps
- stage
- the StepCollector.Stage
of executionStep
sjava.util.List<Step> collectBeforeOrAfterStorySteps(java.util.List<CandidateSteps> candidateSteps, Story story, StepCollector.Stage stage, boolean givenStory)
BeforeStory
or AfterStory
steps to execute.candidateSteps
- the CandidateSteps
.story
- the Story
.stage
- the StepCollector.Stage
of executiongivenStory
- whether Story
is a given storyStep
sjava.util.List<Step> collectBeforeOrAfterScenarioSteps(java.util.List<CandidateSteps> candidateSteps, Meta storyAndScenarioMeta, StepCollector.Stage stage, ScenarioType type)
BeforeScenario
or AfterScenario
steps to execute.candidateSteps
- the CandidateSteps
.storyAndScenarioMeta
- the story and scenario Meta
parameterstype
- the ScenarioTypeStep
sjava.util.List<Step> collectLifecycleSteps(java.util.List<CandidateSteps> candidateSteps, Lifecycle lifecycle, Meta storyAndScenarioMeta, StepCollector.Stage stage)
candidateSteps
- the CandidateSteps
.lifecycle
- the Lifecycle
storyAndScenarioMeta
- the story and scenario Meta
parametersstage
- the StepCollector.Stage
of executionStep
sjava.util.List<Step> collectScenarioSteps(java.util.List<CandidateSteps> candidateSteps, Scenario scenario, java.util.Map<java.lang.String,java.lang.String> parameters)
Step
s to execute for a scenario.candidateSteps
- the CandidateSteps
.scenario
- the Scenario
.parameters
- the parameters.Step
sCopyright © 2003-2014. All Rights Reserved.