org.jbehave.core
Class StoryRunner

java.lang.Object
  extended by org.jbehave.core.StoryRunner

public class StoryRunner
extends Object

Allows to run a story and describe the results to the StoryReporter.

Author:
Elizabeth Keogh, Mauro Talevi, Paul Hammant

Constructor Summary
StoryRunner()
           
 
Method Summary
 void run(StoryConfiguration configuration, Class<? extends RunnableStory> storyClass, CandidateSteps... candidateSteps)
           
 void run(StoryConfiguration configuration, List<String> storyPaths, CandidateSteps... candidateSteps)
           
 void run(StoryConfiguration configuration, Story story, boolean embeddedStory, CandidateSteps... candidateSteps)
           
 void run(StoryConfiguration configuration, Story story, CandidateSteps... candidateSteps)
           
 void run(StoryConfiguration configuration, String storyPath, boolean embeddedStory, CandidateSteps... candidateSteps)
           
 void run(StoryConfiguration configuration, String storyPath, CandidateSteps... candidateSteps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoryRunner

public StoryRunner()
Method Detail

run

public void run(StoryConfiguration configuration,
                Class<? extends RunnableStory> storyClass,
                CandidateSteps... candidateSteps)
         throws Throwable
Throws:
Throwable

run

public void run(StoryConfiguration configuration,
                List<String> storyPaths,
                CandidateSteps... candidateSteps)
         throws Throwable
Throws:
Throwable

run

public void run(StoryConfiguration configuration,
                String storyPath,
                CandidateSteps... candidateSteps)
         throws Throwable
Throws:
Throwable

run

public void run(StoryConfiguration configuration,
                Story story,
                CandidateSteps... candidateSteps)
         throws Throwable
Throws:
Throwable

run

public void run(StoryConfiguration configuration,
                String storyPath,
                boolean embeddedStory,
                CandidateSteps... candidateSteps)
         throws Throwable
Throws:
Throwable

run

public void run(StoryConfiguration configuration,
                Story story,
                boolean embeddedStory,
                CandidateSteps... candidateSteps)
         throws Throwable
Throws:
Throwable


Copyright © 2003-2010. All Rights Reserved.