public interface CandidateSteps
@Given, @When or @Then
that can be matched. It also provides the list of before and after steps,
representing methods annotated with @BeforeStories,
@AfterStories, @BeforeStory,
@AfterStory, @BeforeScenario,
@AfterScenario, that do not require any matching.| Modifier and Type | Method and Description |
|---|---|
Configuration |
configuration()
Returns the configuration
|
List<BeforeOrAfterStep> |
listBeforeOrAfterScenario(ScenarioType type)
Returns the before or after scenario steps
|
List<BeforeOrAfterStep> |
listBeforeOrAfterStories()
Returns the before or after stories steps
|
List<BeforeOrAfterStep> |
listBeforeOrAfterStory(boolean givenStory)
Returns the before or after story steps, based on the given story status
|
List<StepCandidate> |
listCandidates()
Returns the step candidates that can be matched
|
List<StepCandidate> listCandidates()
List<BeforeOrAfterStep> listBeforeOrAfterStories()
List<BeforeOrAfterStep> listBeforeOrAfterStory(boolean givenStory)
givenStory - the boolean flag denoting if it's a given storyList<BeforeOrAfterStep> listBeforeOrAfterScenario(ScenarioType type)
type - the ScenarioTypeConfiguration configuration()
Copyright © 2003–2016. All rights reserved.