net.thucydides.jbehave
Class ThucydidesJUnitStory
java.lang.Object
org.jbehave.core.ConfigurableEmbedder
net.thucydides.jbehave.ThucydidesJUnitStories
net.thucydides.jbehave.ThucydidesJUnitStory
- All Implemented Interfaces:
- org.jbehave.core.Embeddable
public class ThucydidesJUnitStory
- extends ThucydidesJUnitStories
Run an individual JBehave story in JUnit, where the name of the story is derived from the name of the test.
For example, a class called MyStory.java would run a JBehave story called "my_story.story" or MyStory.story.
| Methods inherited from class net.thucydides.jbehave.ThucydidesJUnitStories |
configuration, findStoriesCalled, findStoriesIn, getRootPackage, getStoryPath, getStoryPathExpressions, getSystemConfiguration, runThucydides, setSystemConfiguration, stepsFactory, storyPaths, useDriver, useFormats |
| Methods inherited from class org.jbehave.core.ConfigurableEmbedder |
addSteps, addSteps, candidateSteps, configuredEmbedder, useConfiguration, useEmbedder, useStepsFactory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThucydidesJUnitStory
public ThucydidesJUnitStory()
run
public void run()
throws Throwable
- Specified by:
run in interface org.jbehave.core.Embeddable- Overrides:
run in class ThucydidesJUnitStories
- Throws:
Throwable
storynamesDerivedFromClassName
protected String storynamesDerivedFromClassName()
Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.