org.jbehave.scenario
Class ScenarioRunner

java.lang.Object
  extended by org.jbehave.scenario.ScenarioRunner

public class ScenarioRunner
extends java.lang.Object

Runs the steps of each scenario in a story and describes the results to the ScenarioReporter.

Author:
Elizabeth Keogh, Mauro Talevi, Paul Hammant

Constructor Summary
ScenarioRunner()
           
 
Method Summary
 void run(java.lang.Class<? extends RunnableScenario> scenarioClass, Configuration configuration, CandidateSteps... candidateSteps)
           
 void run(StoryDefinition story, Configuration configuration, boolean embeddedStory, CandidateSteps... candidateSteps)
           
 void run(java.lang.String scenarioPath, Configuration configuration, boolean embeddedStory, CandidateSteps... candidateSteps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScenarioRunner

public ScenarioRunner()
Method Detail

run

public void run(java.lang.Class<? extends RunnableScenario> scenarioClass,
                Configuration configuration,
                CandidateSteps... candidateSteps)
         throws java.lang.Throwable
Throws:
java.lang.Throwable

run

public void run(java.lang.String scenarioPath,
                Configuration configuration,
                boolean embeddedStory,
                CandidateSteps... candidateSteps)
         throws java.lang.Throwable
Throws:
java.lang.Throwable

run

public void run(StoryDefinition story,
                Configuration configuration,
                boolean embeddedStory,
                CandidateSteps... candidateSteps)
         throws java.lang.Throwable
Throws:
java.lang.Throwable


Copyright © 2003-2010. All Rights Reserved.