org.jbehave.core
Interface RunnableStory
- All Known Implementing Classes:
- AbstractStory, JUnitStories, JUnitStory
public interface RunnableStory
Represents a runnable story.
Typically users will need to extend an abstract implementation, such as
AbstractStory
or a decorator, such as
JUnitStory
, which also provide support for test frameworks.
- See Also:
AbstractStory
,
JUnitStory
run
void run()
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getConfiguration
StoryConfiguration getConfiguration()
getSteps
java.util.List<CandidateSteps> getSteps()
addSteps
void addSteps(CandidateSteps... steps)
useConfiguration
void useConfiguration(StoryConfiguration configuration)
useEmbedder
void useEmbedder(StoryEmbedder embedder)
Copyright © 2003-2010. All Rights Reserved.