Package org.jbehave.core.reporters
Class ContextStoryReporter
- java.lang.Object
-
- org.jbehave.core.reporters.NullStoryReporter
-
- org.jbehave.core.reporters.ContextStoryReporter
-
- All Implemented Interfaces:
StoryReporter
public class ContextStoryReporter extends NullStoryReporter
-
-
Constructor Summary
Constructors Constructor Description ContextStoryReporter(Context context)
-
Method Summary
Modifier and Type Method Description voidbeforeScenario(Scenario scenario)voidbeforeStory(Story story, boolean givenStory)-
Methods inherited from class org.jbehave.core.reporters.NullStoryReporter
afterComposedSteps, afterExamples, afterGivenStories, afterScenario, afterScenarios, afterScenarioSteps, afterStoriesSteps, afterStory, afterStorySteps, beforeComposedSteps, beforeExamples, beforeGivenStories, beforeScenarios, beforeScenarioSteps, beforeStep, beforeStoriesSteps, beforeStorySteps, comment, dryRun, example, failed, failedOutcomes, givenStories, givenStories, ignorable, lifecycle, narrative, notPerformed, pending, pending, pendingMethods, restarted, restartedStory, scenarioExcluded, storyCancelled, storyExcluded, successful
-
-
-
-
Constructor Detail
-
ContextStoryReporter
public ContextStoryReporter(Context context)
-
-
Method Detail
-
beforeStory
public void beforeStory(Story story, boolean givenStory)
- Specified by:
beforeStoryin interfaceStoryReporter- Overrides:
beforeStoryin classNullStoryReporter
-
beforeScenario
public void beforeScenario(Scenario scenario)
- Specified by:
beforeScenarioin interfaceStoryReporter- Overrides:
beforeScenarioin classNullStoryReporter
-
-