Package org.jbehave.core.reporters
Class TeamCityConsoleOutput
java.lang.Object
org.jbehave.core.reporters.NullStoryReporter
org.jbehave.core.reporters.PrintStreamOutput
org.jbehave.core.reporters.TxtOutput
org.jbehave.core.reporters.ConsoleOutput
org.jbehave.core.reporters.TeamCityConsoleOutput
- All Implemented Interfaces:
StoryReporter
Decorates console output to allow TeamCity build script interaction: *
https://confluence.jetbrains.com/display/TCD9/Build+Script+Interaction+with+TeamCity
Scenarios are interpreted as TeamCity tests. Pending scenarios are considered as ignored.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jbehave.core.reporters.PrintStreamOutput
PrintStreamOutput.Format
-
Field Summary
Fields inherited from class org.jbehave.core.reporters.PrintStreamOutput
NL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterScenario
(Timing timing) void
beforeScenario
(Scenario scenario) void
void
Methods inherited from class org.jbehave.core.reporters.PrintStreamOutput
afterComposedSteps, afterExamples, afterGivenStories, afterScenarios, afterScenarioSteps, afterStoriesSteps, afterStory, afterStorySteps, beforeComposedSteps, beforeExamples, beforeGivenStories, beforeScenarios, beforeScenarioSteps, beforeStep, beforeStoriesSteps, beforeStory, beforeStorySteps, comment, compressFailureTrace, doCompressFailureTrace, doReportFailureTrace, dryRun, escape, example, failedOutcomes, format, formatTable, formatVerbatim, givenStories, givenStories, ignorable, lifecycle, lookupPattern, narrative, notPerformed, overwritePattern, print, print, reportFailureTrace, restarted, restartedStory, scenarioExcluded, storyCancelled, storyExcluded, successful, toString, transformPrintingTable, transformPrintingVerbatim
Methods inherited from class org.jbehave.core.reporters.NullStoryReporter
pending, pendingMethods
-
Constructor Details
-
TeamCityConsoleOutput
public TeamCityConsoleOutput() -
TeamCityConsoleOutput
-
-
Method Details
-
beforeScenario
- Specified by:
beforeScenario
in interfaceStoryReporter
- Overrides:
beforeScenario
in classPrintStreamOutput
-
afterScenario
- Specified by:
afterScenario
in interfaceStoryReporter
- Overrides:
afterScenario
in classPrintStreamOutput
-
pending
- Specified by:
pending
in interfaceStoryReporter
- Overrides:
pending
in classPrintStreamOutput
-
failed
- Specified by:
failed
in interfaceStoryReporter
- Overrides:
failed
in classPrintStreamOutput
-