org.jbehave.core.reporters
Interface StoryReporter

All Known Implementing Classes:
ConcurrentStoryReporter, ConsoleOutput, DelegatingStoryReporter, HtmlOutput, IdeOnlyConsoleOutput, NullStoryReporter, 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(GivenStories givenStories)
           
 void givenStories(List<String> storyPaths)
           
 void ignorable(String step)
           
 void narrative(Narrative narrative)
           
 void notPerformed(String step)
           
 void pending(String step)
           
 void pendingMethods(List<String> methods)
           
 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)

narrative

void narrative(Narrative narrative)

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(GivenStories givenStories)

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()

pendingMethods

void pendingMethods(List<String> methods)


Copyright © 2003-2011. All Rights Reserved.