public class TemplateableOutput extends NullStoryReporter
Story reporter that outputs to a template.
Modifier and Type | Class and Description |
---|---|
static class |
TemplateableOutput.OutputKeywords |
static class |
TemplateableOutput.OutputLifecycle |
static class |
TemplateableOutput.OutputMeta |
static class |
TemplateableOutput.OutputNarrative |
static class |
TemplateableOutput.OutputParameter |
static class |
TemplateableOutput.OutputRestart |
static class |
TemplateableOutput.OutputScenario |
static class |
TemplateableOutput.OutputStep |
static class |
TemplateableOutput.OutputStory |
Constructor and Description |
---|
TemplateableOutput(File file,
Keywords keywords,
TemplateProcessor processor,
String templatePath) |
afterGivenStories, beforeGivenStories, beforeStep, dryRun
public TemplateableOutput(File file, Keywords keywords, TemplateProcessor processor, String templatePath)
public void storyNotAllowed(Story story, String filter)
storyNotAllowed
in interface StoryReporter
storyNotAllowed
in class NullStoryReporter
public void beforeStory(Story story, boolean givenStory)
beforeStory
in interface StoryReporter
beforeStory
in class NullStoryReporter
public void narrative(Narrative narrative)
narrative
in interface StoryReporter
narrative
in class NullStoryReporter
public void lifecyle(Lifecycle lifecycle)
lifecyle
in interface StoryReporter
lifecyle
in class NullStoryReporter
public void scenarioNotAllowed(Scenario scenario, String filter)
scenarioNotAllowed
in interface StoryReporter
scenarioNotAllowed
in class NullStoryReporter
public void beforeScenario(String title)
beforeScenario
in interface StoryReporter
beforeScenario
in class NullStoryReporter
public void successful(String step)
successful
in interface StoryReporter
successful
in class NullStoryReporter
public void ignorable(String step)
ignorable
in interface StoryReporter
ignorable
in class NullStoryReporter
public void comment(String step)
comment
in interface StoryReporter
comment
in class NullStoryReporter
public void pending(String step)
pending
in interface StoryReporter
pending
in class NullStoryReporter
public void notPerformed(String step)
notPerformed
in interface StoryReporter
notPerformed
in class NullStoryReporter
public void failed(String step, Throwable storyFailure)
failed
in interface StoryReporter
failed
in class NullStoryReporter
public void failedOutcomes(String step, OutcomesTable table)
failedOutcomes
in interface StoryReporter
failedOutcomes
in class NullStoryReporter
public void givenStories(GivenStories givenStories)
givenStories
in interface StoryReporter
givenStories
in class NullStoryReporter
public void givenStories(List<String> storyPaths)
givenStories
in interface StoryReporter
givenStories
in class NullStoryReporter
public void scenarioMeta(Meta meta)
scenarioMeta
in interface StoryReporter
scenarioMeta
in class NullStoryReporter
public void beforeExamples(List<String> steps, ExamplesTable table)
beforeExamples
in interface StoryReporter
beforeExamples
in class NullStoryReporter
public void example(Map<String,String> parameters)
example
in interface StoryReporter
example
in class NullStoryReporter
public void afterExamples()
afterExamples
in interface StoryReporter
afterExamples
in class NullStoryReporter
public void afterScenario()
afterScenario
in interface StoryReporter
afterScenario
in class NullStoryReporter
public void pendingMethods(List<String> methods)
pendingMethods
in interface StoryReporter
pendingMethods
in class NullStoryReporter
public void restarted(String step, Throwable cause)
restarted
in interface StoryReporter
restarted
in class NullStoryReporter
public void restartedStory(Story story, Throwable cause)
restartedStory
in interface StoryReporter
restartedStory
in class NullStoryReporter
public void storyCancelled(Story story, StoryDuration storyDuration)
storyCancelled
in interface StoryReporter
storyCancelled
in class NullStoryReporter
public void afterStory(boolean givenStory)
afterStory
in interface StoryReporter
afterStory
in class NullStoryReporter
Copyright © 2003–2018. All rights reserved.