org.jbehave.core
Class JUnitStory

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

public abstract class JUnitStory
extends RunnableStoryDelegator

RunnableStoryDelegator that runs a story via a single RunnableStory class.

See Also:
RunnableStoryDelegator

Nested Class Summary
static class JUnitStory.JUnitStoryDelegate
           
 
Constructor Summary
JUnitStory()
           
JUnitStory(StoryRunner storyRunner)
           
 
Method Summary
 void runStory()
           
 
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

JUnitStory

public JUnitStory()

JUnitStory

public JUnitStory(StoryRunner storyRunner)
Method Detail

runStory

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


Copyright © 2003-2010. All Rights Reserved.