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) |
Modifier and Type | Method and Description |
---|---|
void |
afterExamples() |
void |
afterScenario() |
void |
afterStory(boolean givenStory) |
void |
beforeExamples(List<String> steps,
ExamplesTable table) |
void |
beforeScenario(Scenario scenario) |
void |
beforeStory(Story story,
boolean givenStory) |
void |
comment(String step) |
void |
example(Map<String,String> parameters,
int exampleIndex) |
void |
failed(String step,
Throwable storyFailure) |
void |
failedOutcomes(String step,
OutcomesTable table) |
void |
givenStories(GivenStories givenStories) |
void |
givenStories(List<String> storyPaths) |
void |
ignorable(String step) |
void |
lifecyle(Lifecycle lifecycle) |
void |
narrative(Narrative narrative) |
void |
notPerformed(String step) |
void |
pending(String step) |
void |
pendingMethods(List<String> methods) |
void |
restarted(String step,
Throwable cause) |
void |
restartedStory(Story story,
Throwable cause) |
void |
scenarioNotAllowed(Scenario scenario,
String filter) |
void |
storyCancelled(Story story,
StoryDuration storyDuration) |
void |
storyNotAllowed(Story story,
String filter) |
void |
successful(String step) |
afterGivenStories, afterScenarioSteps, afterStorySteps, beforeGivenStories, beforeScenario, beforeScenarioSteps, beforeStep, beforeStorySteps, dryRun, example, scenarioMeta
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(Scenario scenario)
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 beforeExamples(List<String> steps, ExamplesTable table)
beforeExamples
in interface StoryReporter
beforeExamples
in class NullStoryReporter
public void example(Map<String,String> parameters, int exampleIndex)
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–2021. All rights reserved.