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
ConstructorsConstructorDescriptionJUnit4StoryReporter(org.junit.runner.notification.RunNotifier notifier, org.junit.runner.Description rootDescription, Keywords keywords) -
Method Summary
Modifier and TypeMethodDescriptionvoidafterScenario(Timing timing) voidvoidafterStory(boolean isGivenStory) voidbeforeScenario(Scenario scenario) voidbeforeStep(Step step) voidvoidbeforeStory(Story story, boolean isGivenStory) voidbeforeStorySteps(StepCollector.Stage stage, Lifecycle.ExecutionType type) voidvoidvoidvoidnotPerformed(String step) voidvoidscenarioExcluded(Scenario scenario, String filter) Notify the IDE that the current step and scenario is not being executed.voidsuccessful(String step) voidusePendingStepStrategy(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:
beforeStoriesStepsin interfaceStoryReporter- Overrides:
beforeStoriesStepsin classNullStoryReporter
-
afterStoriesSteps
- Specified by:
afterStoriesStepsin interfaceStoryReporter- Overrides:
afterStoriesStepsin classNullStoryReporter
-
beforeStory
- Specified by:
beforeStoryin interfaceStoryReporter- Overrides:
beforeStoryin classNullStoryReporter
-
beforeStorySteps
- Specified by:
beforeStoryStepsin interfaceStoryReporter- Overrides:
beforeStoryStepsin classNullStoryReporter
-
afterStory
public void afterStory(boolean isGivenStory) - Specified by:
afterStoryin interfaceStoryReporter- Overrides:
afterStoryin classNullStoryReporter
-
beforeScenario
- Specified by:
beforeScenarioin interfaceStoryReporter- Overrides:
beforeScenarioin classNullStoryReporter
-
afterScenario
- Specified by:
afterScenarioin interfaceStoryReporter- Overrides:
afterScenarioin classNullStoryReporter
-
example
- Specified by:
examplein interfaceStoryReporter- Overrides:
examplein classNullStoryReporter
-
beforeStep
- Specified by:
beforeStepin interfaceStoryReporter- Overrides:
beforeStepin classNullStoryReporter
-
failed
- Specified by:
failedin interfaceStoryReporter- Overrides:
failedin classNullStoryReporter
-
successful
- Specified by:
successfulin interfaceStoryReporter- Overrides:
successfulin classNullStoryReporter
-
pending
- Specified by:
pendingin interfaceStoryReporter- Overrides:
pendingin classNullStoryReporter
-
ignorable
- Specified by:
ignorablein interfaceStoryReporter- Overrides:
ignorablein classNullStoryReporter
-
notPerformed
- Specified by:
notPerformedin interfaceStoryReporter- Overrides:
notPerformedin 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:
scenarioExcludedin interfaceStoryReporter- Overrides:
scenarioExcludedin classNullStoryReporter- Parameters:
scenario- Scenariofilter- Filter
-
usePendingStepStrategy
-