org.jbehave.core
Class StoryRunner
java.lang.Object
org.jbehave.core.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
Method Summary |
Story |
defineStory(StoryConfiguration storyConfiguration,
java.lang.String storyPath)
|
void |
run(StoryConfiguration configuration,
java.util.List<CandidateSteps> candidateSteps,
java.lang.Class<? extends RunnableStory> storyClass)
|
void |
run(StoryConfiguration configuration,
java.util.List<CandidateSteps> candidateSteps,
Story story)
|
void |
run(StoryConfiguration configuration,
java.util.List<CandidateSteps> candidateSteps,
Story story,
boolean embeddedStory)
|
void |
run(StoryConfiguration configuration,
java.util.List<CandidateSteps> candidateSteps,
java.lang.String storyPath)
|
void |
run(StoryConfiguration configuration,
java.util.List<CandidateSteps> candidateSteps,
java.lang.String storyPath,
boolean embeddedStory)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StoryRunner
public StoryRunner()
run
public void run(StoryConfiguration configuration,
java.util.List<CandidateSteps> candidateSteps,
java.lang.Class<? extends RunnableStory> storyClass)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
run
public void run(StoryConfiguration configuration,
java.util.List<CandidateSteps> candidateSteps,
java.lang.String storyPath)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
run
public void run(StoryConfiguration configuration,
java.util.List<CandidateSteps> candidateSteps,
Story story)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
run
public void run(StoryConfiguration configuration,
java.util.List<CandidateSteps> candidateSteps,
java.lang.String storyPath,
boolean embeddedStory)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
defineStory
public Story defineStory(StoryConfiguration storyConfiguration,
java.lang.String storyPath)
run
public void run(StoryConfiguration configuration,
java.util.List<CandidateSteps> candidateSteps,
Story story,
boolean embeddedStory)
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.