public class PropertyBasedConfiguration extends MostUsefulConfiguration
FAIL_ON_PENDING
: uses FailingUponPendingStep
SILENT_SUCCESS
: uses SilentSuccessFilter
decoratorModifier and Type | Field and Description |
---|---|
static String |
FAIL_ON_PENDING |
static String |
SILENT_SUCCESS |
compositeParser, compositePaths, defaultStoryReporter, examplesTableFactory, failureStrategy, keywords, parameterControls, parameterConverters, paranamer, pathCalculator, pendingStepStrategy, stepCollector, stepdocReporter, stepFinder, stepMonitor, stepPatternParser, stepsContext, storyControls, storyExecutionComparator, storyLoader, storyParser, storyPathResolver, storyReporterBuilder, tableParsers, tableTransformers, viewGenerator
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. |
compositeParser, compositePaths, doDryRun, dryRun, examplesTableFactory, failureStrategy, keywords, parameterControls, parameterConverters, paranamer, pathCalculator, stepCollector, stepdocReporter, stepFinder, stepMonitor, stepPatternParser, stepsContext, storyControls, storyExecutionComparator, storyLoader, storyParser, storyPathResolver, storyReporter, storyReporterBuilder, tableParsers, tableTransformers, useCompositeParser, useCompositePaths, useDefaultStoryReporter, useExamplesTableFactory, useFailureStrategy, useKeywords, useParameterControls, useParameterConverters, useParanamer, usePathCalculator, usePendingStepStrategy, useStepCollector, useStepdocReporter, useStepFinder, useStepMonitor, useStepPatternParser, useStepsContext, useStoryControls, useStoryExecutionComparator, useStoryLoader, useStoryParser, useStoryPathResolver, useStoryReporterBuilder, useTableTransformers, useViewGenerator, viewGenerator
public static final String FAIL_ON_PENDING
public static final String SILENT_SUCCESS
@Deprecated 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–2021. All rights reserved.