Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Step |
|
| 1.0;1 |
1 | package org.jbehave.core.steps; | |
2 | ||
3 | import org.jbehave.core.configuration.Keywords; | |
4 | import org.jbehave.core.failures.UUIDExceptionWrapper; | |
5 | ||
6 | /** | |
7 | * A Step represents a runnable portion of a Scenario, which matches methods annotated in {@link CandidateSteps} instances. | |
8 | */ | |
9 | public interface Step { | |
10 | ||
11 | StepResult perform(UUIDExceptionWrapper storyFailureIfItHappened); | |
12 | ||
13 | StepResult doNotPerform(UUIDExceptionWrapper storyFailureIfItHappened); | |
14 | ||
15 | String asString(Keywords keywords); | |
16 | ||
17 | } |