org.jbehave.scenario.reporters
Class PrintStreamScenarioReporter

java.lang.Object
  extended by org.jbehave.scenario.reporters.PrintStreamScenarioReporter
All Implemented Interfaces:
ScenarioReporter

public class PrintStreamScenarioReporter
extends java.lang.Object
implements ScenarioReporter

Scenario reporter that outputs to a PrintStream, defaulting to System.out.


Constructor Summary
PrintStreamScenarioReporter()
           
PrintStreamScenarioReporter(java.io.PrintStream output)
           
PrintStreamScenarioReporter(java.io.PrintStream output, boolean reportErrors)
           
 
Method Summary
 void afterScenario()
           
 void afterStory()
           
 void beforeScenario(java.lang.String title)
           
 void beforeStory(Blurb blurb)
           
 void failed(java.lang.String step, java.lang.Throwable cause)
           
 void notPerformed(java.lang.String step)
           
 void pending(java.lang.String step)
           
 void successful(java.lang.String step)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintStreamScenarioReporter

public PrintStreamScenarioReporter()

PrintStreamScenarioReporter

public PrintStreamScenarioReporter(java.io.PrintStream output)

PrintStreamScenarioReporter

public PrintStreamScenarioReporter(java.io.PrintStream output,
                                   boolean reportErrors)
Method Detail

successful

public void successful(java.lang.String step)
Specified by:
successful in interface ScenarioReporter

pending

public void pending(java.lang.String step)
Specified by:
pending in interface ScenarioReporter

notPerformed

public void notPerformed(java.lang.String step)
Specified by:
notPerformed in interface ScenarioReporter

failed

public void failed(java.lang.String step,
                   java.lang.Throwable cause)
Specified by:
failed in interface ScenarioReporter

afterScenario

public void afterScenario()
Specified by:
afterScenario in interface ScenarioReporter

beforeScenario

public void beforeScenario(java.lang.String title)
Specified by:
beforeScenario in interface ScenarioReporter

afterStory

public void afterStory()
Specified by:
afterStory in interface ScenarioReporter

beforeStory

public void beforeStory(Blurb blurb)
Specified by:
beforeStory in interface ScenarioReporter


Copyright © 2003-2009. All Rights Reserved.