org.jbehave.core
Class JUnitStories

java.lang.Object
  extended by org.jbehave.core.RunnableStoryDelegator
      extended by org.jbehave.core.JUnitStories
All Implemented Interfaces:
RunnableStory

public abstract class JUnitStories
extends RunnableStoryDelegator

RunnableStoryDelegator that runs multiple stories via their story paths.

See Also:
RunnableStoryDelegator

Nested Class Summary
static class JUnitStories.JUnitStoriesDelegate
           
 
Constructor Summary
JUnitStories()
           
JUnitStories(StoryRunner storyRunner)
           
 
Method Summary
 void runStory()
           
protected abstract  List<String> storyPaths()
           
 
Methods inherited from class org.jbehave.core.RunnableStoryDelegator
addSteps, delegateTo, generateStepdoc, getConfiguration, getSteps, useConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitStories

public JUnitStories()

JUnitStories

public JUnitStories(StoryRunner storyRunner)
Method Detail

runStory

public void runStory()
              throws Throwable
Specified by:
runStory in interface RunnableStory
Overrides:
runStory in class RunnableStoryDelegator
Throws:
Throwable

storyPaths

protected abstract List<String> storyPaths()


Copyright © 2003-2010. All Rights Reserved.