net.thucydides.jbehave
Class ThucydidesJUnitStory

Package class diagram package ThucydidesJUnitStory
java.lang.Object
  extended by org.jbehave.core.ConfigurableEmbedder
      extended by org.jbehave.core.junit.JUnitStories
          extended by net.thucydides.jbehave.ThucydidesJUnitStories
              extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.thucydides.jbehave.ThucydidesJUnitStories
ThucydidesJUnitStories.ThucydidesConfigurationBuilder, ThucydidesJUnitStories.ThucydidesPropertySetter
 
Field Summary
 
Fields inherited from class net.thucydides.jbehave.ThucydidesJUnitStories
DEFAULT_STORY_NAME
 
Constructor Summary
ThucydidesJUnitStory()
           
 
Method Summary
 void run()
           
protected  String storynamesDerivedFromClassName()
           
 
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
 

Constructor Detail

ThucydidesJUnitStory

public ThucydidesJUnitStory()
Method Detail

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.