org.jbehave.core.embedder
Class StoryRunner

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

public class StoryRunner
extends java.lang.Object

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

Author:
Elizabeth Keogh, Mauro Talevi, Paul Hammant

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

Constructor Detail

StoryRunner

public StoryRunner()
Method Detail

run

public void run(Configuration configuration,
                java.util.List<CandidateSteps> candidateSteps,
                java.lang.Class<? extends RunnableStory> storyClass)
         throws java.lang.Throwable
Throws:
java.lang.Throwable

run

public void run(Configuration configuration,
                java.util.List<CandidateSteps> candidateSteps,
                java.lang.String storyPath)
         throws java.lang.Throwable
Throws:
java.lang.Throwable

run

public void run(Configuration configuration,
                java.util.List<CandidateSteps> candidateSteps,
                Story story)
         throws java.lang.Throwable
Throws:
java.lang.Throwable

run

public void run(Configuration configuration,
                java.util.List<CandidateSteps> candidateSteps,
                java.lang.String storyPath,
                boolean givenStory)
         throws java.lang.Throwable
Throws:
java.lang.Throwable

defineStory

public Story defineStory(Configuration configuration,
                         java.lang.String storyPath)

run

public void run(Configuration configuration,
                java.util.List<CandidateSteps> candidateSteps,
                Story story,
                boolean givenStory)
         throws java.lang.Throwable
Throws:
java.lang.Throwable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2010. All Rights Reserved.