public class SerenityStories
extends org.jbehave.core.junit.JUnitStories
| Modifier and Type | Class and Description |
|---|---|
class |
SerenityStories.ThucydidesConfigurationBuilder |
class |
SerenityStories.ThucydidesPropertySetter |
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<java.lang.String> |
DEFAULT_GIVEN_STORY_PREFIX |
static java.lang.String |
DEFAULT_STORY_NAME |
| Modifier | Constructor and Description |
|---|---|
|
SerenityStories() |
protected |
SerenityStories(net.thucydides.core.webdriver.Configuration configuration) |
protected |
SerenityStories(net.thucydides.core.util.EnvironmentVariables environmentVariables) |
| Modifier and Type | Method and Description |
|---|---|
org.jbehave.core.configuration.Configuration |
configuration() |
void |
findStoriesCalled(java.lang.String storyNames) |
void |
findStoriesIn(java.lang.String storyFolder)
Define the folder on the class path where the stories should be found
|
java.lang.ClassLoader |
getClassLoader()
The class loader used to obtain the JBehave and Step implementation classes.
|
net.thucydides.core.util.EnvironmentVariables |
getEnvironmentVariables() |
protected java.lang.String |
getRootPackage()
The root package on the classpath containing the JBehave stories to be run.
|
protected java.lang.String |
getStoryPath()
The root package on the classpath containing the JBehave stories to be run.
|
protected java.util.List<java.lang.String> |
getStoryPathExpressions() |
net.thucydides.core.webdriver.Configuration |
getSystemConfiguration() |
SerenityStories.ThucydidesConfigurationBuilder |
runSerenity() |
protected void |
setEnvironmentVariables(net.thucydides.core.util.EnvironmentVariables environmentVariables) |
protected void |
setSystemConfiguration(net.thucydides.core.webdriver.Configuration systemConfiguration)
Use this to override the default ThucydidesWebdriverIntegration configuration - for testing purposes only.
|
org.jbehave.core.steps.InjectableStepsFactory |
stepsFactory() |
java.util.List<java.lang.String> |
storyPaths() |
protected void |
useDriver(java.lang.String driver) |
void |
useFormats(org.jbehave.core.reporters.Format... formats) |
protected void |
useUniqueSession() |
public static final java.lang.String DEFAULT_STORY_NAME
public static final java.util.List<java.lang.String> DEFAULT_GIVEN_STORY_PREFIX
public SerenityStories()
protected SerenityStories(net.thucydides.core.util.EnvironmentVariables environmentVariables)
protected SerenityStories(net.thucydides.core.webdriver.Configuration configuration)
public net.thucydides.core.util.EnvironmentVariables getEnvironmentVariables()
public org.jbehave.core.configuration.Configuration configuration()
configuration in class org.jbehave.core.ConfigurableEmbedderpublic org.jbehave.core.steps.InjectableStepsFactory stepsFactory()
stepsFactory in class org.jbehave.core.ConfigurableEmbedderpublic java.lang.ClassLoader getClassLoader()
public java.util.List<java.lang.String> storyPaths()
storyPaths in class org.jbehave.core.junit.JUnitStoriesprotected java.lang.String getRootPackage()
protected java.util.List<java.lang.String> getStoryPathExpressions()
protected java.lang.String getStoryPath()
public void findStoriesIn(java.lang.String storyFolder)
public void useFormats(org.jbehave.core.reporters.Format... formats)
public void findStoriesCalled(java.lang.String storyNames)
protected void setSystemConfiguration(net.thucydides.core.webdriver.Configuration systemConfiguration)
protected void setEnvironmentVariables(net.thucydides.core.util.EnvironmentVariables environmentVariables)
public net.thucydides.core.webdriver.Configuration getSystemConfiguration()
protected void useDriver(java.lang.String driver)
protected void useUniqueSession()
public SerenityStories.ThucydidesConfigurationBuilder runSerenity()