public class PropertyBasedConfiguration extends MostUsefulConfiguration
FAIL_ON_PENDING: uses FailingUponPendingStepSILENT_SUCCESS: uses SilentSuccessFilter decorator| Modifier and Type | Field and Description |
|---|---|
static String |
FAIL_ON_PENDING |
static String |
SILENT_SUCCESS |
defaultStoryReporter, failureStrategy, keywords, parameterControls, parameterConverters, paranamer, pathCalculator, pendingStepStrategy, stepCollector, stepdocReporter, stepFinder, stepMonitor, stepPatternParser, stepsContext, storyControls, storyLoader, storyParser, storyPathResolver, storyReporterBuilder, 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. |
doDryRun, dryRun, failureStrategy, keywords, parameterControls, parameterConverters, paranamer, pathCalculator, stepCollector, stepdocReporter, stepFinder, stepMonitor, stepPatternParser, stepsContext, 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, viewGeneratorpublic static final String FAIL_ON_PENDING
public static final 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 Configurationpublic 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 ConfigurationCopyright © 2003–2016. All rights reserved.