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, scenarioMeta
public PostStoryStatisticsCollector(OutputStream output)
public void successful(String step)
successful
in interface StoryReporter
successful
in class NullStoryReporter
public void ignorable(String step)
ignorable
in interface StoryReporter
ignorable
in class NullStoryReporter
public void comment(String step)
comment
in interface StoryReporter
comment
in class NullStoryReporter
public void pending(String step)
pending
in interface StoryReporter
pending
in class NullStoryReporter
public void notPerformed(String step)
notPerformed
in interface StoryReporter
notPerformed
in class NullStoryReporter
public void failed(String step, Throwable cause)
failed
in interface StoryReporter
failed
in class NullStoryReporter
public void failedOutcomes(String step, OutcomesTable table)
failedOutcomes
in interface StoryReporter
failedOutcomes
in class NullStoryReporter
public void beforeStory(Story story, boolean givenStory)
beforeStory
in interface StoryReporter
beforeStory
in class NullStoryReporter
public void storyNotAllowed(Story story, String filter)
storyNotAllowed
in interface StoryReporter
storyNotAllowed
in class NullStoryReporter
public void storyCancelled(Story story, StoryDuration storyDuration)
storyCancelled
in interface StoryReporter
storyCancelled
in class NullStoryReporter
public void afterStory(boolean givenStory)
afterStory
in interface StoryReporter
afterStory
in class NullStoryReporter
public void givenStories(GivenStories givenStories)
givenStories
in interface StoryReporter
givenStories
in class NullStoryReporter
public void givenStories(List<String> storyPaths)
givenStories
in interface StoryReporter
givenStories
in class NullStoryReporter
public void beforeScenario(Scenario scenario)
beforeScenario
in interface StoryReporter
beforeScenario
in class NullStoryReporter
public void scenarioNotAllowed(Scenario scenario, String filter)
scenarioNotAllowed
in interface StoryReporter
scenarioNotAllowed
in class NullStoryReporter
public void afterScenario()
afterScenario
in interface StoryReporter
afterScenario
in class NullStoryReporter
public void example(Map<String,String> tableRow, int exampleIndex)
example
in interface StoryReporter
example
in class NullStoryReporter
public void restartedStory(Story story, Throwable cause)
restartedStory
in interface StoryReporter
restartedStory
in class NullStoryReporter
Copyright © 2003–2021. All rights reserved.