1 | |
package org.jbehave.core.steps; |
2 | |
|
3 | |
import org.jbehave.core.failures.UUIDExceptionWrapper; |
4 | |
import org.jbehave.core.reporters.StoryReporter; |
5 | |
|
6 | |
public interface StepResult { |
7 | |
|
8 | 8 | enum Type { |
9 | 1 | FAILED, |
10 | 1 | NOT_PERFORMED, |
11 | 1 | PENDING, |
12 | 1 | SUCCESSFUL, |
13 | 1 | SILENT, |
14 | 1 | IGNORABLE, |
15 | 1 | SKIPPED |
16 | |
} |
17 | |
|
18 | |
String parametrisedStep(); |
19 | |
|
20 | |
StepResult withParameterValues(String parametrisedStep); |
21 | |
|
22 | |
StepResult withDurationInMillis(long duration); |
23 | |
|
24 | |
void describeTo(StoryReporter reporter); |
25 | |
|
26 | |
UUIDExceptionWrapper getFailure(); |
27 | |
|
28 | |
} |