Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ViewGenerator |
|
| 1.0;1 |
1 | package org.jbehave.core.reporters; | |
2 | ||
3 | import java.io.File; | |
4 | import java.util.List; | |
5 | import java.util.Properties; | |
6 | ||
7 | /** | |
8 | * A view generator is responsible for creating a collective view of file-based | |
9 | * outputs of the story reporters. The generator assumes all story outputs have | |
10 | * been written to the output directory in the formats specified during the | |
11 | * running of the stories. | |
12 | */ | |
13 | public interface ViewGenerator { | |
14 | ||
15 | void generateView(File outputDirectory, List<String> formats, | |
16 | Properties viewResources); | |
17 | ||
18 | int countStories(); | |
19 | ||
20 | int countScenarios(); | |
21 | ||
22 | int countFailedScenarios(); | |
23 | ||
24 | } |