org.jbehave.core.reporters
Interface StoryReporter

All Known Implementing Classes:
ConsoleOutput, DelegatingStoryReporter, HtmlOutput, IdeOnlyConsoleOutput, PostStoryStatisticsCollector, PrintStreamOutput, SilentSuccessFilter, StepFailureDecorator, TxtOutput, XmlOutput

public interface StoryReporter

Allows the runner to report the state of running stories

Author:
Elizabeth Keogh, Mauro Talevi

Method Summary
 void afterExamples()
           
 void afterScenario()
           
 void afterStory(boolean givenStory)
           
 void beforeExamples(List<String> steps, ExamplesTable table)
           
 void beforeScenario(String scenarioTitle)
           
 void beforeStory(Story story, boolean givenStory)
           
 void dryRun()
           
 void example(Map<String,String> tableRow)
           
 void failed(String step, Throwable cause)
           
 void failedOutcomes(String step, OutcomesTable table)
           
 void givenStories(List<String> storyPaths)
           
 void ignorable(String step)
           
 void notPerformed(String step)
           
 void pending(String step)
           
 void scenarioMeta(Meta meta)
           
 void scenarioNotAllowed(Scenario scenario, String filter)
           
 void storyNotAllowed(Story story, String filter)
           
 void successful(String step)
           
 

Method Detail

storyNotAllowed

void storyNotAllowed(Story story,
                     String filter)

beforeStory

void beforeStory(Story story,
                 boolean givenStory)

afterStory

void afterStory(boolean givenStory)

scenarioNotAllowed

void scenarioNotAllowed(Scenario scenario,
                        String filter)

beforeScenario

void beforeScenario(String scenarioTitle)

scenarioMeta

void scenarioMeta(Meta meta)

afterScenario

void afterScenario()

givenStories

void givenStories(List<String> storyPaths)

beforeExamples

void beforeExamples(List<String> steps,
                    ExamplesTable table)

example

void example(Map<String,String> tableRow)

afterExamples

void afterExamples()

successful

void successful(String step)

ignorable

void ignorable(String step)

pending

void pending(String step)

notPerformed

void notPerformed(String step)

failed

void failed(String step,
            Throwable cause)

failedOutcomes

void failedOutcomes(String step,
                    OutcomesTable table)

dryRun

void dryRun()


Copyright © 2003-2010. All Rights Reserved.