public class PostStoryStatisticsCollector extends java.lang.Object implements StoryReporter
Reporter that collects statistics and writes them as properties to output stream after each story
Constructor and Description |
---|
PostStoryStatisticsCollector(java.io.OutputStream output) |
Modifier and Type | Method and Description |
---|---|
void |
afterExamples() |
void |
afterScenario() |
void |
afterStory(boolean givenStory) |
void |
beforeExamples(java.util.List<java.lang.String> steps,
ExamplesTable table) |
void |
beforeScenario(java.lang.String title) |
void |
beforeStep(java.lang.String step) |
void |
beforeStory(Story story,
boolean givenStory) |
void |
dryRun() |
void |
example(java.util.Map<java.lang.String,java.lang.String> tableRow) |
void |
failed(java.lang.String step,
java.lang.Throwable cause) |
void |
failedOutcomes(java.lang.String step,
OutcomesTable table) |
void |
givenStories(GivenStories givenStories) |
void |
givenStories(java.util.List<java.lang.String> storyPaths) |
void |
ignorable(java.lang.String step) |
void |
lifecyle(Lifecycle lifecycle) |
void |
narrative(Narrative narrative) |
void |
notPerformed(java.lang.String step) |
void |
pending(java.lang.String step) |
void |
pendingMethods(java.util.List<java.lang.String> methods) |
void |
restarted(java.lang.String step,
java.lang.Throwable cause) |
void |
scenarioMeta(Meta meta) |
void |
scenarioNotAllowed(Scenario scenario,
java.lang.String filter) |
void |
storyCancelled(Story story,
StoryDuration storyDuration) |
void |
storyNotAllowed(Story story,
java.lang.String filter) |
void |
successful(java.lang.String step) |
java.lang.String |
toString() |
public PostStoryStatisticsCollector(java.io.OutputStream output)
public void beforeStep(java.lang.String step)
beforeStep
in interface StoryReporter
public void successful(java.lang.String step)
successful
in interface StoryReporter
public void ignorable(java.lang.String step)
ignorable
in interface StoryReporter
public void pending(java.lang.String step)
pending
in interface StoryReporter
public void notPerformed(java.lang.String step)
notPerformed
in interface StoryReporter
public void failed(java.lang.String step, java.lang.Throwable cause)
failed
in interface StoryReporter
public void failedOutcomes(java.lang.String step, OutcomesTable table)
failedOutcomes
in interface StoryReporter
public void beforeStory(Story story, boolean givenStory)
beforeStory
in interface StoryReporter
public void narrative(Narrative narrative)
narrative
in interface StoryReporter
public void lifecyle(Lifecycle lifecycle)
lifecyle
in interface StoryReporter
public void storyNotAllowed(Story story, java.lang.String filter)
storyNotAllowed
in interface StoryReporter
public void storyCancelled(Story story, StoryDuration storyDuration)
storyCancelled
in interface StoryReporter
public void afterStory(boolean givenStory)
afterStory
in interface StoryReporter
public void givenStories(GivenStories givenStories)
givenStories
in interface StoryReporter
public void givenStories(java.util.List<java.lang.String> storyPaths)
givenStories
in interface StoryReporter
public void beforeScenario(java.lang.String title)
beforeScenario
in interface StoryReporter
public void scenarioNotAllowed(Scenario scenario, java.lang.String filter)
scenarioNotAllowed
in interface StoryReporter
public void scenarioMeta(Meta meta)
scenarioMeta
in interface StoryReporter
public void afterScenario()
afterScenario
in interface StoryReporter
public void beforeExamples(java.util.List<java.lang.String> steps, ExamplesTable table)
beforeExamples
in interface StoryReporter
public void example(java.util.Map<java.lang.String,java.lang.String> tableRow)
example
in interface StoryReporter
public void afterExamples()
afterExamples
in interface StoryReporter
public void dryRun()
dryRun
in interface StoryReporter
public void pendingMethods(java.util.List<java.lang.String> methods)
pendingMethods
in interface StoryReporter
public void restarted(java.lang.String step, java.lang.Throwable cause)
restarted
in interface StoryReporter
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2014. All Rights Reserved.