public class PropertyBasedConfiguration extends MostUsefulConfiguration
FAIL_ON_PENDING
: uses FailingUponPendingStep
SILENT_SUCCESS
: uses SilentSuccessFilter
decoratorModifier and Type | Field and Description |
---|---|
static java.lang.String |
FAIL_ON_PENDING |
static java.lang.String |
SILENT_SUCCESS |
Constructor and Description |
---|
PropertyBasedConfiguration() |
Modifier and Type | Method and Description |
---|---|
StoryReporter |
defaultStoryReporter()
Deprecated.
Use StoryReporterBuilder()
|
PendingStepStrategy |
pendingStepStrategy()
If the system property
FAIL_ON_PENDING is set, returns
FailingUponPendingStep otherwise returns the default. |
doDryRun, dryRun, failureStrategy, keywords, parameterControls, parameterConverters, paranamer, pathCalculator, stepCollector, stepdocReporter, stepFinder, stepMonitor, stepPatternParser, storyControls, storyLoader, storyParser, storyPathResolver, storyReporter, storyReporterBuilder, useDefaultStoryReporter, useFailureStrategy, useKeywords, useParameterControls, useParameterConverters, useParanamer, usePathCalculator, usePendingStepStrategy, useStepCollector, useStepdocReporter, useStepFinder, useStepMonitor, useStepPatternParser, useStoryControls, useStoryLoader, useStoryParser, useStoryPathResolver, useStoryReporterBuilder, useViewGenerator, viewGenerator
public static final java.lang.String FAIL_ON_PENDING
public static final java.lang.String SILENT_SUCCESS
public StoryReporter defaultStoryReporter()
If the system property SILENT_SUCCESS
is set, uses a
SilentSuccessFilter
to decorate the default StoryReporter.
Setting SILENT_SUCCESS
will only show the steps for all stories
if the stories fail.
defaultStoryReporter
in class Configuration
public PendingStepStrategy pendingStepStrategy()
If the system property FAIL_ON_PENDING
is set, returns
FailingUponPendingStep
otherwise returns the default.
Setting FAIL_ON_PENDING
will cause pending steps to fail story
execution, so you can see if any steps don't match or are still to be
implemented.
pendingStepStrategy
in class Configuration
Copyright © 2003-2014. All Rights Reserved.