org.jbehave.core.reporters
Class StatisticsStoryReporter
java.lang.Object
org.jbehave.core.reporters.StatisticsStoryReporter
- All Implemented Interfaces:
- StoryReporter
public class StatisticsStoryReporter
- extends Object
- implements StoryReporter
Scenario reporter that collects statistics and stores them as properties to
output stream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatisticsStoryReporter
public StatisticsStoryReporter(OutputStream output)
successful
public void successful(String step)
- Specified by:
successful
in interface StoryReporter
ignorable
public void ignorable(String step)
- Specified by:
ignorable
in interface StoryReporter
pending
public void pending(String step)
- Specified by:
pending
in interface StoryReporter
notPerformed
public void notPerformed(String step)
- Specified by:
notPerformed
in interface StoryReporter
failed
public void failed(String step,
Throwable cause)
- Specified by:
failed
in interface StoryReporter
beforeStory
public void beforeStory(Story story,
boolean embeddedStory)
- Specified by:
beforeStory
in interface StoryReporter
afterStory
public void afterStory(boolean embeddedStory)
- Specified by:
afterStory
in interface StoryReporter
givenStories
public void givenStories(List<String> givenScenarios)
- Specified by:
givenStories
in interface StoryReporter
beforeScenario
public void beforeScenario(String title)
- Specified by:
beforeScenario
in interface StoryReporter
afterScenario
public void afterScenario()
- Specified by:
afterScenario
in interface StoryReporter
beforeExamples
public void beforeExamples(List<String> steps,
ExamplesTable table)
- Specified by:
beforeExamples
in interface StoryReporter
example
public void example(Map<String,String> tableRow)
- Specified by:
example
in interface StoryReporter
afterExamples
public void afterExamples()
- Specified by:
afterExamples
in interface StoryReporter
Copyright © 2003-2010. All Rights Reserved.