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, scenarioMetapublic TemplateableOutput(File file, Keywords keywords, TemplateProcessor processor, String templatePath)
public void storyNotAllowed(Story story, String filter)
storyNotAllowed in interface StoryReporterstoryNotAllowed in class NullStoryReporterpublic void beforeStory(Story story, boolean givenStory)
beforeStory in interface StoryReporterbeforeStory in class NullStoryReporterpublic void narrative(Narrative narrative)
narrative in interface StoryReporternarrative in class NullStoryReporterpublic void lifecyle(Lifecycle lifecycle)
lifecyle in interface StoryReporterlifecyle in class NullStoryReporterpublic void scenarioNotAllowed(Scenario scenario, String filter)
scenarioNotAllowed in interface StoryReporterscenarioNotAllowed in class NullStoryReporterpublic void beforeScenario(Scenario scenario)
beforeScenario in interface StoryReporterbeforeScenario in class NullStoryReporterpublic void successful(String step)
successful in interface StoryReportersuccessful in class NullStoryReporterpublic void ignorable(String step)
ignorable in interface StoryReporterignorable in class NullStoryReporterpublic void comment(String step)
comment in interface StoryReportercomment in class NullStoryReporterpublic void pending(String step)
pending in interface StoryReporterpending in class NullStoryReporterpublic void notPerformed(String step)
notPerformed in interface StoryReporternotPerformed in class NullStoryReporterpublic void failed(String step, Throwable storyFailure)
failed in interface StoryReporterfailed in class NullStoryReporterpublic void failedOutcomes(String step, OutcomesTable table)
failedOutcomes in interface StoryReporterfailedOutcomes in class NullStoryReporterpublic void givenStories(GivenStories givenStories)
givenStories in interface StoryReportergivenStories in class NullStoryReporterpublic void givenStories(List<String> storyPaths)
givenStories in interface StoryReportergivenStories in class NullStoryReporterpublic void beforeExamples(List<String> steps, ExamplesTable table)
beforeExamples in interface StoryReporterbeforeExamples in class NullStoryReporterpublic void example(Map<String,String> parameters, int exampleIndex)
example in interface StoryReporterexample in class NullStoryReporterpublic void afterExamples()
afterExamples in interface StoryReporterafterExamples in class NullStoryReporterpublic void afterScenario()
afterScenario in interface StoryReporterafterScenario in class NullStoryReporterpublic void pendingMethods(List<String> methods)
pendingMethods in interface StoryReporterpendingMethods in class NullStoryReporterpublic void restarted(String step, Throwable cause)
restarted in interface StoryReporterrestarted in class NullStoryReporterpublic void restartedStory(Story story, Throwable cause)
restartedStory in interface StoryReporterrestartedStory in class NullStoryReporterpublic void storyCancelled(Story story, StoryDuration storyDuration)
storyCancelled in interface StoryReporterstoryCancelled in class NullStoryReporterpublic void afterStory(boolean givenStory)
afterStory in interface StoryReporterafterStory in class NullStoryReporterCopyright © 2003–2019. All rights reserved.