Package org.jbehave.core.reporters
Class TemplateableOutput
java.lang.Object
org.jbehave.core.reporters.NullStoryReporter
org.jbehave.core.reporters.TemplateableOutput
- All Implemented Interfaces:
StoryReporter
- Direct Known Subclasses:
HtmlTemplateOutput,JsonTemplateOutput,XmlTemplateOutput
Story reporter that outputs to a template.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionTemplateableOutput(File file, Keywords keywords, TemplateProcessor processor, String templatePath) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidafterScenario(Timing timing) voidafterStory(boolean givenStory) voidbeforeExamples(List<String> steps, ExamplesTable table) voidbeforeScenario(Scenario scenario) voidbeforeStory(Story story, boolean givenStory) voidvoidvoidvoidfailedOutcomes(String step, OutcomesTable table) voidgivenStories(List<String> storyPaths) voidgivenStories(GivenStories givenStories) voidvoidvoidvoidnotPerformed(String step) 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) Methods inherited from class org.jbehave.core.reporters.NullStoryReporter
afterComposedSteps, afterGivenStories, afterScenarios, afterScenarioSteps, afterStoriesSteps, afterStorySteps, beforeComposedSteps, beforeGivenStories, beforeScenarios, beforeScenarioSteps, beforeStep, beforeStoriesSteps, beforeStorySteps, dryRun, pending
-
Constructor Details
-
TemplateableOutput
public TemplateableOutput(File file, Keywords keywords, TemplateProcessor processor, String templatePath)
-
-
Method Details
-
storyExcluded
- Specified by:
storyExcludedin interfaceStoryReporter- Overrides:
storyExcludedin classNullStoryReporter
-
beforeStory
- Specified by:
beforeStoryin interfaceStoryReporter- Overrides:
beforeStoryin classNullStoryReporter
-
narrative
- Specified by:
narrativein interfaceStoryReporter- Overrides:
narrativein classNullStoryReporter
-
lifecycle
- Specified by:
lifecyclein interfaceStoryReporter- Overrides:
lifecyclein classNullStoryReporter
-
scenarioExcluded
- Specified by:
scenarioExcludedin interfaceStoryReporter- Overrides:
scenarioExcludedin classNullStoryReporter
-
beforeScenario
- Specified by:
beforeScenarioin interfaceStoryReporter- Overrides:
beforeScenarioin classNullStoryReporter
-
successful
- Specified by:
successfulin interfaceStoryReporter- Overrides:
successfulin classNullStoryReporter
-
ignorable
- Specified by:
ignorablein interfaceStoryReporter- Overrides:
ignorablein classNullStoryReporter
-
comment
- Specified by:
commentin interfaceStoryReporter- Overrides:
commentin classNullStoryReporter
-
pending
- Specified by:
pendingin interfaceStoryReporter- Overrides:
pendingin classNullStoryReporter
-
notPerformed
- Specified by:
notPerformedin interfaceStoryReporter- Overrides:
notPerformedin classNullStoryReporter
-
failed
- Specified by:
failedin interfaceStoryReporter- Overrides:
failedin classNullStoryReporter
-
failedOutcomes
- Specified by:
failedOutcomesin interfaceStoryReporter- Overrides:
failedOutcomesin classNullStoryReporter
-
givenStories
- Specified by:
givenStoriesin interfaceStoryReporter- Overrides:
givenStoriesin classNullStoryReporter
-
givenStories
- Specified by:
givenStoriesin interfaceStoryReporter- Overrides:
givenStoriesin classNullStoryReporter
-
beforeExamples
- Specified by:
beforeExamplesin interfaceStoryReporter- Overrides:
beforeExamplesin classNullStoryReporter
-
example
- Specified by:
examplein interfaceStoryReporter- Overrides:
examplein classNullStoryReporter
-
afterExamples
public void afterExamples()- Specified by:
afterExamplesin interfaceStoryReporter- Overrides:
afterExamplesin classNullStoryReporter
-
afterScenario
- Specified by:
afterScenarioin interfaceStoryReporter- Overrides:
afterScenarioin classNullStoryReporter
-
pendingMethods
Description copied from interface:StoryReporterReport list of pending methods- Specified by:
pendingMethodsin interfaceStoryReporter- Overrides:
pendingMethodsin classNullStoryReporter- Parameters:
methods- list of generated methods
-
restarted
- Specified by:
restartedin interfaceStoryReporter- Overrides:
restartedin classNullStoryReporter
-
restartedStory
- Specified by:
restartedStoryin interfaceStoryReporter- Overrides:
restartedStoryin classNullStoryReporter
-
storyCancelled
- Specified by:
storyCancelledin interfaceStoryReporter- Overrides:
storyCancelledin classNullStoryReporter
-
afterStory
public void afterStory(boolean givenStory) - Specified by:
afterStoryin interfaceStoryReporter- Overrides:
afterStoryin classNullStoryReporter
-