|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CandidateSteps
Interface providing the list of step candidates, representing methods
annotated with @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.
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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 story
java.util.List<BeforeOrAfterStep> listBeforeOrAfterScenario(ScenarioType type)
type - the ScenarioType
Configuration configuration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||