public interface StepCollector
Steps 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 |
|---|---|
List<Step> |
collectBeforeOrAfterScenarioSteps(List<CandidateSteps> candidateSteps,
Meta storyAndScenarioMeta,
StepCollector.Stage stage,
ScenarioType type)
Collects all of the
BeforeScenario or AfterScenario steps to execute. |
List<Step> |
collectBeforeOrAfterStoriesSteps(List<CandidateSteps> candidateSteps,
StepCollector.Stage stage)
Collects all of the
BeforeStories or AfterStories steps to execute. |
List<Step> |
collectBeforeOrAfterStorySteps(List<CandidateSteps> candidateSteps,
Story story,
StepCollector.Stage stage,
boolean givenStory)
Collects all of the
BeforeStory or AfterStory steps to execute. |
Map<StepCollector.Stage,List<Step>> |
collectLifecycleSteps(List<CandidateSteps> candidateSteps,
Lifecycle lifecycle,
Meta storyAndScenarioMeta,
Scope scope)
Collects all lifecycle steps to execute per
StepCollector.Stage of execution |
List<Step> |
collectLifecycleSteps(List<CandidateSteps> candidateSteps,
Lifecycle lifecycle,
Meta storyAndScenarioMeta,
StepCollector.Stage stage)
Deprecated.
Use
collectLifecycleSteps(List, Lifecycle, Meta, Scope)
Collects all lifecycle steps to execute for default scope |
List<Step> |
collectLifecycleSteps(List<CandidateSteps> candidateSteps,
Lifecycle lifecycle,
Meta storyAndScenarioMeta,
StepCollector.Stage stage,
Scope scope)
Deprecated.
Use
collectLifecycleSteps(List, Lifecycle, Meta, Scope)
Collects all lifecycle steps to execute |
List<Step> |
collectScenarioSteps(List<CandidateSteps> candidateSteps,
Scenario scenario,
Map<String,String> parameters)
Collects all of the
Steps to execute for a scenario. |
List<Step> |
collectScenarioSteps(List<CandidateSteps> candidateSteps,
Scenario scenario,
Map<String,String> parameters,
StepMonitor stepMonitor)
Collects all of the
Steps to execute for a scenario. |
List<Step> collectBeforeOrAfterStoriesSteps(List<CandidateSteps> candidateSteps, StepCollector.Stage stage)
BeforeStories or AfterStories steps to execute.candidateSteps - stage - the StepCollector.Stage of executionStepsList<Step> collectBeforeOrAfterStorySteps(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 storyStepsList<Step> collectBeforeOrAfterScenarioSteps(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 ScenarioTypeSteps@Deprecated List<Step> collectLifecycleSteps(List<CandidateSteps> candidateSteps, Lifecycle lifecycle, Meta storyAndScenarioMeta, StepCollector.Stage stage)
collectLifecycleSteps(List, Lifecycle, Meta, Scope)
Collects all lifecycle steps to execute for default scopecandidateSteps - the CandidateSteps.lifecycle - the LifecyclestoryAndScenarioMeta - the story and scenario Meta parametersstage - the StepCollector.Stage of executionSteps@Deprecated List<Step> collectLifecycleSteps(List<CandidateSteps> candidateSteps, Lifecycle lifecycle, Meta storyAndScenarioMeta, StepCollector.Stage stage, Scope scope)
collectLifecycleSteps(List, Lifecycle, Meta, Scope)
Collects all lifecycle steps to executecandidateSteps - the CandidateSteps.lifecycle - the LifecyclestoryAndScenarioMeta - the story and scenario Meta parametersstage - the StepCollector.Stage of executionscope - the Scope of the lifecycle stepsStepsMap<StepCollector.Stage,List<Step>> collectLifecycleSteps(List<CandidateSteps> candidateSteps, Lifecycle lifecycle, Meta storyAndScenarioMeta, Scope scope)
StepCollector.Stage of executioncandidateSteps - the CandidateSteps.lifecycle - the LifecyclestoryAndScenarioMeta - the story and scenario Meta parametersscope - the Scope of the lifecycle stepsStepsList<Step> collectScenarioSteps(List<CandidateSteps> candidateSteps, Scenario scenario, Map<String,String> parameters)
Steps to execute for a scenario.candidateSteps - the CandidateSteps.scenario - the Scenario.parameters - the parameters.StepsList<Step> collectScenarioSteps(List<CandidateSteps> candidateSteps, Scenario scenario, Map<String,String> parameters, StepMonitor stepMonitor)
Steps to execute for a scenario.candidateSteps - the CandidateSteps.scenario - the Scenario.parameters - the parameters.stepMonitor - the StepMonitor.StepsCopyright © 2003–2019. All rights reserved.