Package org.jbehave.core.reporters
Class NullStoryReporter
java.lang.Object
org.jbehave.core.reporters.NullStoryReporter
- All Implemented Interfaces:
StoryReporter
- Direct Known Subclasses:
ContextStoryReporter,JUnit4StoryReporter,PostStoryStatisticsCollector,PrintStreamOutput,SilentSuccessFilter,TemplateableOutput
Null-object implementation of
StoryReporter. Users can subclass it and can override only the method that they
are interested in.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidafterScenario(Timing timing) voidvoidafterScenarioSteps(StepCollector.Stage stage, Lifecycle.ExecutionType type) voidvoidafterStory(boolean givenStory) voidafterStorySteps(StepCollector.Stage stage, Lifecycle.ExecutionType type) voidvoidbeforeExamples(List<String> steps, ExamplesTable table) voidvoidbeforeScenario(Scenario scenario) voidvoidvoidbeforeStep(Step step) voidvoidbeforeStory(Story story, boolean givenStory) voidbeforeStorySteps(StepCollector.Stage stage, Lifecycle.ExecutionType type) voidvoiddryRun()voidvoidvoidfailedOutcomes(String step, OutcomesTable table) voidgivenStories(List<String> storyPaths) voidgivenStories(GivenStories givenStories) voidvoidvoidvoidnotPerformed(String step) voidDeprecated.voidvoidpendingMethods(List<String> methods) Report list of pending methodsvoidvoidrestartedStory(Story story, Throwable cause) voidscenarioExcluded(Scenario scenario, String filter) voidstoryCancelled(Story story, StoryDuration storyDuration) voidstoryExcluded(Story story, String filter) voidsuccessful(String step)
-
Constructor Details
-
NullStoryReporter
public NullStoryReporter()
-
-
Method Details
-
beforeStoriesSteps
- Specified by:
beforeStoriesStepsin interfaceStoryReporter
-
afterStoriesSteps
- Specified by:
afterStoriesStepsin interfaceStoryReporter
-
beforeStep
- Specified by:
beforeStepin interfaceStoryReporter
-
successful
- Specified by:
successfulin interfaceStoryReporter
-
ignorable
- Specified by:
ignorablein interfaceStoryReporter
-
comment
- Specified by:
commentin interfaceStoryReporter
-
pending
- Specified by:
pendingin interfaceStoryReporter
-
pending
Deprecated.Description copied from interface:StoryReporterReport pending step- Specified by:
pendingin interfaceStoryReporter- Parameters:
step- string representation of pending step
-
notPerformed
- Specified by:
notPerformedin interfaceStoryReporter
-
failed
- Specified by:
failedin interfaceStoryReporter
-
failedOutcomes
- Specified by:
failedOutcomesin interfaceStoryReporter
-
storyExcluded
- Specified by:
storyExcludedin interfaceStoryReporter
-
beforeStory
- Specified by:
beforeStoryin interfaceStoryReporter
-
storyCancelled
- Specified by:
storyCancelledin interfaceStoryReporter
-
afterStory
public void afterStory(boolean givenStory) - Specified by:
afterStoryin interfaceStoryReporter
-
beforeScenarios
public void beforeScenarios()- Specified by:
beforeScenariosin interfaceStoryReporter
-
afterScenarios
public void afterScenarios()- Specified by:
afterScenariosin interfaceStoryReporter
-
narrative
- Specified by:
narrativein interfaceStoryReporter
-
lifecycle
- Specified by:
lifecyclein interfaceStoryReporter
-
beforeStorySteps
- Specified by:
beforeStoryStepsin interfaceStoryReporter
-
afterStorySteps
- Specified by:
afterStoryStepsin interfaceStoryReporter
-
beforeScenarioSteps
- Specified by:
beforeScenarioStepsin interfaceStoryReporter
-
afterScenarioSteps
- Specified by:
afterScenarioStepsin interfaceStoryReporter
-
beforeComposedSteps
public void beforeComposedSteps()- Specified by:
beforeComposedStepsin interfaceStoryReporter
-
afterComposedSteps
public void afterComposedSteps()- Specified by:
afterComposedStepsin interfaceStoryReporter
-
beforeGivenStories
public void beforeGivenStories()- Specified by:
beforeGivenStoriesin interfaceStoryReporter
-
givenStories
- Specified by:
givenStoriesin interfaceStoryReporter
-
givenStories
- Specified by:
givenStoriesin interfaceStoryReporter
-
afterGivenStories
public void afterGivenStories()- Specified by:
afterGivenStoriesin interfaceStoryReporter
-
beforeScenario
- Specified by:
beforeScenarioin interfaceStoryReporter
-
scenarioExcluded
- Specified by:
scenarioExcludedin interfaceStoryReporter
-
afterScenario
- Specified by:
afterScenarioin interfaceStoryReporter
-
beforeExamples
- Specified by:
beforeExamplesin interfaceStoryReporter
-
example
- Specified by:
examplein interfaceStoryReporter
-
afterExamples
public void afterExamples()- Specified by:
afterExamplesin interfaceStoryReporter
-
dryRun
public void dryRun()- Specified by:
dryRunin interfaceStoryReporter
-
pendingMethods
Description copied from interface:StoryReporterReport list of pending methods- Specified by:
pendingMethodsin interfaceStoryReporter- Parameters:
methods- list of generated methods
-
restarted
- Specified by:
restartedin interfaceStoryReporter
-
restartedStory
- Specified by:
restartedStoryin interfaceStoryReporter
-