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
|
java.util.List<BeforeOrAfterStep> |
listBeforeOrAfterScenario(ScenarioType type)
Returns the before or after scenario steps
|
java.util.List<BeforeOrAfterStep> |
listBeforeOrAfterStories()
Returns the before or after stories steps
|
java.util.List<BeforeOrAfterStep> |
listBeforeOrAfterStory(boolean givenStory)
Returns the before or after story steps, based on the given story status
|
java.util.List<StepCandidate> |
listCandidates()
Returns the step candidates that can be matched
|
java.util.List<StepCandidate> listCandidates()
java.util.List<BeforeOrAfterStep> listBeforeOrAfterStories()
java.util.List<BeforeOrAfterStep> listBeforeOrAfterStory(boolean givenStory)
givenStory
- the boolean flag denoting if it's a given storyjava.util.List<BeforeOrAfterStep> listBeforeOrAfterScenario(ScenarioType type)
type
- the ScenarioTypeConfiguration configuration()
Copyright © 2003-2014. All Rights Reserved.