Package org.jbehave.core.junit
Class JUnit4StoryReporter
java.lang.Object
org.jbehave.core.reporters.NullStoryReporter
org.jbehave.core.junit.JUnit4StoryReporter
- All Implemented Interfaces:
StoryReporter
-
Constructor Summary
ConstructorDescriptionJUnit4StoryReporter
(org.junit.runner.notification.RunNotifier notifier, org.junit.runner.Description rootDescription, Keywords keywords) -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterScenario
(Timing timing) void
void
afterStory
(boolean isGivenStory) void
beforeScenario
(Scenario scenario) void
beforeStep
(Step step) void
void
beforeStory
(Story story, boolean isGivenStory) void
beforeStorySteps
(StepCollector.Stage stage, Lifecycle.ExecutionType type) void
void
void
void
notPerformed
(String step) void
void
scenarioExcluded
(Scenario scenario, String filter) Notify the IDE that the current step and scenario is not being executed.void
successful
(String step) void
usePendingStepStrategy
(PendingStepStrategy pendingStepStrategy) Methods inherited from class org.jbehave.core.reporters.NullStoryReporter
afterComposedSteps, afterExamples, afterGivenStories, afterScenarios, afterScenarioSteps, afterStorySteps, beforeComposedSteps, beforeExamples, beforeGivenStories, beforeScenarios, beforeScenarioSteps, comment, dryRun, failedOutcomes, givenStories, givenStories, lifecycle, narrative, pending, pendingMethods, restarted, restartedStory, storyCancelled, storyExcluded
-
Constructor Details
-
JUnit4StoryReporter
public JUnit4StoryReporter(org.junit.runner.notification.RunNotifier notifier, org.junit.runner.Description rootDescription, Keywords keywords)
-
-
Method Details
-
beforeStoriesSteps
- Specified by:
beforeStoriesSteps
in interfaceStoryReporter
- Overrides:
beforeStoriesSteps
in classNullStoryReporter
-
afterStoriesSteps
- Specified by:
afterStoriesSteps
in interfaceStoryReporter
- Overrides:
afterStoriesSteps
in classNullStoryReporter
-
beforeStory
- Specified by:
beforeStory
in interfaceStoryReporter
- Overrides:
beforeStory
in classNullStoryReporter
-
beforeStorySteps
- Specified by:
beforeStorySteps
in interfaceStoryReporter
- Overrides:
beforeStorySteps
in classNullStoryReporter
-
afterStory
public void afterStory(boolean isGivenStory) - Specified by:
afterStory
in interfaceStoryReporter
- Overrides:
afterStory
in classNullStoryReporter
-
beforeScenario
- Specified by:
beforeScenario
in interfaceStoryReporter
- Overrides:
beforeScenario
in classNullStoryReporter
-
afterScenario
- Specified by:
afterScenario
in interfaceStoryReporter
- Overrides:
afterScenario
in classNullStoryReporter
-
example
- Specified by:
example
in interfaceStoryReporter
- Overrides:
example
in classNullStoryReporter
-
beforeStep
- Specified by:
beforeStep
in interfaceStoryReporter
- Overrides:
beforeStep
in classNullStoryReporter
-
failed
- Specified by:
failed
in interfaceStoryReporter
- Overrides:
failed
in classNullStoryReporter
-
successful
- Specified by:
successful
in interfaceStoryReporter
- Overrides:
successful
in classNullStoryReporter
-
pending
- Specified by:
pending
in interfaceStoryReporter
- Overrides:
pending
in classNullStoryReporter
-
ignorable
- Specified by:
ignorable
in interfaceStoryReporter
- Overrides:
ignorable
in classNullStoryReporter
-
notPerformed
- Specified by:
notPerformed
in interfaceStoryReporter
- Overrides:
notPerformed
in classNullStoryReporter
-
scenarioExcluded
Notify the IDE that the current step and scenario is not being executed. Reason is a JBehave meta tag is filtering out this scenario.- Specified by:
scenarioExcluded
in interfaceStoryReporter
- Overrides:
scenarioExcluded
in classNullStoryReporter
- Parameters:
scenario
- Scenariofilter
- Filter
-
usePendingStepStrategy
-