public class PostStoryStatisticsCollector extends NullStoryReporter
Reporter that collects statistics and writes them as properties to output stream after each story
| Constructor and Description |
|---|
PostStoryStatisticsCollector(OutputStream output) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterScenario() |
void |
afterStory(boolean givenStory) |
void |
beforeScenario(Scenario scenario) |
void |
beforeStory(Story story,
boolean givenStory) |
void |
comment(String step) |
void |
example(Map<String,String> tableRow,
int exampleIndex) |
void |
failed(String step,
Throwable cause) |
void |
failedOutcomes(String step,
OutcomesTable table) |
void |
givenStories(GivenStories givenStories) |
void |
givenStories(List<String> storyPaths) |
void |
ignorable(String step) |
void |
notPerformed(String step) |
void |
pending(String step) |
void |
restartedStory(Story story,
Throwable cause) |
void |
scenarioNotAllowed(Scenario scenario,
String filter) |
void |
storyCancelled(Story story,
StoryDuration storyDuration) |
void |
storyNotAllowed(Story story,
String filter) |
void |
successful(String step) |
String |
toString() |
afterExamples, afterGivenStories, afterScenarioSteps, afterStorySteps, beforeExamples, beforeGivenStories, beforeScenario, beforeScenarioSteps, beforeStep, beforeStorySteps, dryRun, example, lifecyle, narrative, pendingMethods, restarted, scenarioMetapublic PostStoryStatisticsCollector(OutputStream output)
public void successful(String step)
successful in interface StoryReportersuccessful in class NullStoryReporterpublic void ignorable(String step)
ignorable in interface StoryReporterignorable in class NullStoryReporterpublic void comment(String step)
comment in interface StoryReportercomment in class NullStoryReporterpublic void pending(String step)
pending in interface StoryReporterpending in class NullStoryReporterpublic void notPerformed(String step)
notPerformed in interface StoryReporternotPerformed in class NullStoryReporterpublic void failed(String step, Throwable cause)
failed in interface StoryReporterfailed in class NullStoryReporterpublic void failedOutcomes(String step, OutcomesTable table)
failedOutcomes in interface StoryReporterfailedOutcomes in class NullStoryReporterpublic void beforeStory(Story story, boolean givenStory)
beforeStory in interface StoryReporterbeforeStory in class NullStoryReporterpublic void storyNotAllowed(Story story, String filter)
storyNotAllowed in interface StoryReporterstoryNotAllowed in class NullStoryReporterpublic void storyCancelled(Story story, StoryDuration storyDuration)
storyCancelled in interface StoryReporterstoryCancelled in class NullStoryReporterpublic void afterStory(boolean givenStory)
afterStory in interface StoryReporterafterStory in class NullStoryReporterpublic void givenStories(GivenStories givenStories)
givenStories in interface StoryReportergivenStories in class NullStoryReporterpublic void givenStories(List<String> storyPaths)
givenStories in interface StoryReportergivenStories in class NullStoryReporterpublic void beforeScenario(Scenario scenario)
beforeScenario in interface StoryReporterbeforeScenario in class NullStoryReporterpublic void scenarioNotAllowed(Scenario scenario, String filter)
scenarioNotAllowed in interface StoryReporterscenarioNotAllowed in class NullStoryReporterpublic void afterScenario()
afterScenario in interface StoryReporterafterScenario in class NullStoryReporterpublic void example(Map<String,String> tableRow, int exampleIndex)
example in interface StoryReporterexample in class NullStoryReporterpublic void restartedStory(Story story, Throwable cause)
restartedStory in interface StoryReporterrestartedStory in class NullStoryReporterCopyright © 2003–2019. All rights reserved.