|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbehave.core.StoryConfiguration
org.jbehave.core.PropertyBasedStoryConfiguration
public class PropertyBasedStoryConfiguration
PropertyBasedStoryConfiguration is backed by MostUsefulStoryConfiguration as default, but has different behaviour if certain system properties are non-null:
Field Summary | |
---|---|
static java.lang.String |
FAIL_ON_PENDING
|
static java.lang.String |
OUTPUT_ALL
|
Constructor Summary | |
---|---|
PropertyBasedStoryConfiguration()
|
|
PropertyBasedStoryConfiguration(StoryConfiguration defaultConfiguration)
|
Method Summary | |
---|---|
ErrorStrategy |
errorStrategy()
Returns the default ErrorStrategy for handling errors. |
Keywords |
keywords()
Returns the default keywords. |
PendingErrorStrategy |
pendingErrorStrategy()
If the system property org.jbehave.failonpending is non-null, returns PendingStepStrategy.FAILING, otherwise returns the defaults. |
StepCreator |
stepCreator()
Returns the default StepCreator. |
StepdocGenerator |
stepdocGenerator()
|
StepdocReporter |
stepdocReporter()
|
StoryParser |
storyParser()
Returns the default StoryParser. |
StoryReporter |
storyReporter()
If the system property org.jbehave.outputall is set to TRUE, uses a PrintStreamStoryReporter; otherwise uses the default StoryReporter. |
Methods inherited from class org.jbehave.core.StoryConfiguration |
---|
buildReporters, buildReporters, storyLoader, storyPathResolver, storyReporter, storyReporterBuilder, useErrorStrategy, useKeywords, usePendingErrorStrategy, useStepCreator, useStepdocGenerator, useStepdocReporter, useStoryLoader, useStoryParser, useStoryPathResolver, useStoryReporter, useStoryReporter, useStoryReporterBuilder, useStoryReporters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FAIL_ON_PENDING
public static final java.lang.String OUTPUT_ALL
Constructor Detail |
---|
public PropertyBasedStoryConfiguration()
public PropertyBasedStoryConfiguration(StoryConfiguration defaultConfiguration)
Method Detail |
---|
public StoryReporter storyReporter()
storyReporter
in class StoryConfiguration
public StoryParser storyParser()
storyParser
in class StoryConfiguration
public PendingErrorStrategy pendingErrorStrategy()
Setting org.jbehave.failonpending will cause pending steps to throw an error, so you can see if any steps don't match or are still to be implemented.
pendingErrorStrategy
in class StoryConfiguration
public StepCreator stepCreator()
stepCreator
in class StoryConfiguration
public ErrorStrategy errorStrategy()
errorStrategy
in class StoryConfiguration
public Keywords keywords()
keywords
in class StoryConfiguration
public StepdocGenerator stepdocGenerator()
stepdocGenerator
in class StoryConfiguration
public StepdocReporter stepdocReporter()
stepdocReporter
in class StoryConfiguration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |