de.codecentric.jbehave.junit.monitoring
Class JUnitScenarioReporter

java.lang.Object
  extended by de.codecentric.jbehave.junit.monitoring.JUnitScenarioReporter
All Implemented Interfaces:
org.jbehave.core.reporters.StoryReporter

public class JUnitScenarioReporter
extends Object
implements org.jbehave.core.reporters.StoryReporter


Field Summary
 Set<org.junit.runner.Description> failedSteps
           
 
Constructor Summary
JUnitScenarioReporter(org.junit.runner.notification.RunNotifier notifier, int totalTests, org.junit.runner.Description rootDescription)
           
 
Method Summary
 void afterExamples()
           
 void afterScenario()
           
 void afterStory(boolean isGivenStory)
           
 void beforeExamples(List<String> arg0, org.jbehave.core.model.ExamplesTable arg1)
           
 void beforeScenario(String title)
           
 void beforeStep(String title)
           
 void beforeStory(org.jbehave.core.model.Story story, boolean isGivenStory)
           
 void dryRun()
           
 void example(Map<String,String> arg0)
           
 void failed(String step, Throwable e)
           
 void failedOutcomes(String arg0, org.jbehave.core.model.OutcomesTable arg1)
           
 void givenStories(org.jbehave.core.model.GivenStories arg0)
           
 void givenStories(List<String> arg0)
           
 void ignorable(String arg0)
           
 void narrative(org.jbehave.core.model.Narrative arg0)
           
 void notPerformed(String arg0)
           
 void pending(String arg0)
           
 void pendingMethods(List<String> arg0)
           
 void restarted(String arg0, Throwable arg1)
           
 void scenarioMeta(org.jbehave.core.model.Meta arg0)
           
 void scenarioNotAllowed(org.jbehave.core.model.Scenario arg0, String arg1)
           
 void storyCancelled(org.jbehave.core.model.Story arg0, org.jbehave.core.model.StoryDuration arg1)
           
 void storyNotAllowed(org.jbehave.core.model.Story arg0, String arg1)
           
 void successful(String step)
           
 void usePendingStepStrategy(org.jbehave.core.failures.PendingStepStrategy strategy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

failedSteps

public Set<org.junit.runner.Description> failedSteps
Constructor Detail

JUnitScenarioReporter

public JUnitScenarioReporter(org.junit.runner.notification.RunNotifier notifier,
                             int totalTests,
                             org.junit.runner.Description rootDescription)
Method Detail

beforeStory

public void beforeStory(org.jbehave.core.model.Story story,
                        boolean isGivenStory)
Specified by:
beforeStory in interface org.jbehave.core.reporters.StoryReporter

afterStory

public void afterStory(boolean isGivenStory)
Specified by:
afterStory in interface org.jbehave.core.reporters.StoryReporter

beforeScenario

public void beforeScenario(String title)
Specified by:
beforeScenario in interface org.jbehave.core.reporters.StoryReporter

afterScenario

public void afterScenario()
Specified by:
afterScenario in interface org.jbehave.core.reporters.StoryReporter

beforeExamples

public void beforeExamples(List<String> arg0,
                           org.jbehave.core.model.ExamplesTable arg1)
Specified by:
beforeExamples in interface org.jbehave.core.reporters.StoryReporter

example

public void example(Map<String,String> arg0)
Specified by:
example in interface org.jbehave.core.reporters.StoryReporter

afterExamples

public void afterExamples()
Specified by:
afterExamples in interface org.jbehave.core.reporters.StoryReporter

beforeStep

public void beforeStep(String title)
Specified by:
beforeStep in interface org.jbehave.core.reporters.StoryReporter

failed

public void failed(String step,
                   Throwable e)
Specified by:
failed in interface org.jbehave.core.reporters.StoryReporter

successful

public void successful(String step)
Specified by:
successful in interface org.jbehave.core.reporters.StoryReporter

pending

public void pending(String arg0)
Specified by:
pending in interface org.jbehave.core.reporters.StoryReporter

ignorable

public void ignorable(String arg0)
Specified by:
ignorable in interface org.jbehave.core.reporters.StoryReporter

notPerformed

public void notPerformed(String arg0)
Specified by:
notPerformed in interface org.jbehave.core.reporters.StoryReporter

dryRun

public void dryRun()
Specified by:
dryRun in interface org.jbehave.core.reporters.StoryReporter

failedOutcomes

public void failedOutcomes(String arg0,
                           org.jbehave.core.model.OutcomesTable arg1)
Specified by:
failedOutcomes in interface org.jbehave.core.reporters.StoryReporter

givenStories

public void givenStories(org.jbehave.core.model.GivenStories arg0)
Specified by:
givenStories in interface org.jbehave.core.reporters.StoryReporter

givenStories

public void givenStories(List<String> arg0)
Specified by:
givenStories in interface org.jbehave.core.reporters.StoryReporter

narrative

public void narrative(org.jbehave.core.model.Narrative arg0)
Specified by:
narrative in interface org.jbehave.core.reporters.StoryReporter

pendingMethods

public void pendingMethods(List<String> arg0)
Specified by:
pendingMethods in interface org.jbehave.core.reporters.StoryReporter

restarted

public void restarted(String arg0,
                      Throwable arg1)
Specified by:
restarted in interface org.jbehave.core.reporters.StoryReporter

scenarioMeta

public void scenarioMeta(org.jbehave.core.model.Meta arg0)
Specified by:
scenarioMeta in interface org.jbehave.core.reporters.StoryReporter

scenarioNotAllowed

public void scenarioNotAllowed(org.jbehave.core.model.Scenario arg0,
                               String arg1)
Specified by:
scenarioNotAllowed in interface org.jbehave.core.reporters.StoryReporter

storyCancelled

public void storyCancelled(org.jbehave.core.model.Story arg0,
                           org.jbehave.core.model.StoryDuration arg1)
Specified by:
storyCancelled in interface org.jbehave.core.reporters.StoryReporter

storyNotAllowed

public void storyNotAllowed(org.jbehave.core.model.Story arg0,
                            String arg1)
Specified by:
storyNotAllowed in interface org.jbehave.core.reporters.StoryReporter

usePendingStepStrategy

public void usePendingStepStrategy(org.jbehave.core.failures.PendingStepStrategy strategy)


Copyright © 2012 codecentric AG. All Rights Reserved.