1 | |
package org.jbehave.core.reporters; |
2 | |
|
3 | |
import java.util.List; |
4 | |
import java.util.Map; |
5 | |
|
6 | |
import org.jbehave.core.model.ExamplesTable; |
7 | |
import org.jbehave.core.model.GivenStories; |
8 | |
import org.jbehave.core.model.Meta; |
9 | |
import org.jbehave.core.model.Narrative; |
10 | |
import org.jbehave.core.model.OutcomesTable; |
11 | |
import org.jbehave.core.model.Scenario; |
12 | |
import org.jbehave.core.model.Story; |
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
public interface StoryReporter { |
21 | |
|
22 | |
void storyNotAllowed(Story story, String filter); |
23 | |
|
24 | |
void beforeStory(Story story, boolean givenStory); |
25 | |
|
26 | |
void narrative(Narrative narrative); |
27 | |
|
28 | |
void afterStory(boolean givenStory); |
29 | |
|
30 | |
void scenarioNotAllowed(Scenario scenario, String filter); |
31 | |
|
32 | |
void beforeScenario(String scenarioTitle); |
33 | |
|
34 | |
void scenarioMeta(Meta meta); |
35 | |
|
36 | |
void afterScenario(); |
37 | |
|
38 | |
void givenStories(GivenStories givenStories); |
39 | |
|
40 | |
void givenStories(List<String> storyPaths); |
41 | |
|
42 | |
void beforeExamples(List<String> steps, ExamplesTable table); |
43 | |
|
44 | |
void example(Map<String, String> tableRow); |
45 | |
|
46 | |
void afterExamples(); |
47 | |
|
48 | |
void successful(String step); |
49 | |
|
50 | |
void ignorable(String step); |
51 | |
|
52 | |
void pending(String step); |
53 | |
|
54 | |
void notPerformed(String step); |
55 | |
|
56 | |
void failed(String step, Throwable cause); |
57 | |
|
58 | |
void failedOutcomes(String step, OutcomesTable table); |
59 | |
|
60 | |
void dryRun(); |
61 | |
|
62 | |
void pendingMethods(List<String> methods); |
63 | |
|
64 | |
} |