Class JUnitScenarioReporter
java.lang.Object
org.jbehave.core.reporters.NullStoryReporter
com.github.valfirst.jbehave.junit.monitoring.JUnitScenarioReporter
- All Implemented Interfaces:
org.jbehave.core.reporters.StoryReporter
public class JUnitScenarioReporter
extends org.jbehave.core.reporters.NullStoryReporter
-
Constructor Summary
ConstructorsConstructorDescriptionJUnitScenarioReporter(org.junit.runner.notification.RunNotifier notifier, int totalTests, org.junit.runner.Description rootDescription, org.jbehave.core.configuration.Keywords keywords)JUnitScenarioReporter(org.junit.runner.notification.RunNotifier notifier, int totalTests, org.junit.runner.Description rootDescription, org.jbehave.core.configuration.Keywords keywords, boolean notifyFinished) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidafterStory(boolean isGivenStory)voidbeforeScenario(org.jbehave.core.model.Scenario scenario)voidbeforeStep(String title)voidbeforeStory(org.jbehave.core.model.Story story, boolean isGivenStory)voidvoidvoidvoidnotPerformed(String step)voidvoidscenarioNotAllowed(org.jbehave.core.model.Scenario scenario, String filter)Notify the IDE that the current step and scenario is not being executed.voidsuccessful(String step)voidusePendingStepStrategy(org.jbehave.core.failures.PendingStepStrategy pendingStepStrategy)Methods inherited from class org.jbehave.core.reporters.NullStoryReporter
afterExamples, afterGivenStories, afterScenarioSteps, afterStorySteps, beforeExamples, beforeGivenStories, beforeScenario, beforeScenarioSteps, beforeStorySteps, comment, dryRun, example, failedOutcomes, givenStories, givenStories, lifecyle, narrative, pendingMethods, restarted, restartedStory, scenarioMeta, storyCancelled, storyNotAllowed
-
Constructor Details
-
JUnitScenarioReporter
public JUnitScenarioReporter(org.junit.runner.notification.RunNotifier notifier, int totalTests, org.junit.runner.Description rootDescription, org.jbehave.core.configuration.Keywords keywords, boolean notifyFinished) -
JUnitScenarioReporter
public JUnitScenarioReporter(org.junit.runner.notification.RunNotifier notifier, int totalTests, org.junit.runner.Description rootDescription, org.jbehave.core.configuration.Keywords keywords)
-
-
Method Details
-
beforeStory
public void beforeStory(org.jbehave.core.model.Story story, boolean isGivenStory)- Specified by:
beforeStoryin interfaceorg.jbehave.core.reporters.StoryReporter- Overrides:
beforeStoryin classorg.jbehave.core.reporters.NullStoryReporter
-
afterStory
public void afterStory(boolean isGivenStory)- Specified by:
afterStoryin interfaceorg.jbehave.core.reporters.StoryReporter- Overrides:
afterStoryin classorg.jbehave.core.reporters.NullStoryReporter
-
beforeScenario
public void beforeScenario(org.jbehave.core.model.Scenario scenario)- Specified by:
beforeScenarioin interfaceorg.jbehave.core.reporters.StoryReporter- Overrides:
beforeScenarioin classorg.jbehave.core.reporters.NullStoryReporter
-
afterScenario
public void afterScenario()- Specified by:
afterScenarioin interfaceorg.jbehave.core.reporters.StoryReporter- Overrides:
afterScenarioin classorg.jbehave.core.reporters.NullStoryReporter
-
example
- Specified by:
examplein interfaceorg.jbehave.core.reporters.StoryReporter- Overrides:
examplein classorg.jbehave.core.reporters.NullStoryReporter
-
beforeStep
- Specified by:
beforeStepin interfaceorg.jbehave.core.reporters.StoryReporter- Overrides:
beforeStepin classorg.jbehave.core.reporters.NullStoryReporter
-
failed
- Specified by:
failedin interfaceorg.jbehave.core.reporters.StoryReporter- Overrides:
failedin classorg.jbehave.core.reporters.NullStoryReporter
-
successful
- Specified by:
successfulin interfaceorg.jbehave.core.reporters.StoryReporter- Overrides:
successfulin classorg.jbehave.core.reporters.NullStoryReporter
-
pending
- Specified by:
pendingin interfaceorg.jbehave.core.reporters.StoryReporter- Overrides:
pendingin classorg.jbehave.core.reporters.NullStoryReporter
-
ignorable
- Specified by:
ignorablein interfaceorg.jbehave.core.reporters.StoryReporter- Overrides:
ignorablein classorg.jbehave.core.reporters.NullStoryReporter
-
notPerformed
- Specified by:
notPerformedin interfaceorg.jbehave.core.reporters.StoryReporter- Overrides:
notPerformedin classorg.jbehave.core.reporters.NullStoryReporter
-
scenarioNotAllowed
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:
scenarioNotAllowedin interfaceorg.jbehave.core.reporters.StoryReporter- Overrides:
scenarioNotAllowedin classorg.jbehave.core.reporters.NullStoryReporter- Parameters:
scenario- Scenariofilter- Filter
-
usePendingStepStrategy
public void usePendingStepStrategy(org.jbehave.core.failures.PendingStepStrategy pendingStepStrategy)
-