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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterScenario(Timing timing) voidbeforeScenario(Scenario scenario) voidvoidMethods 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, transformPrintingVerbatimMethods inherited from class org.jbehave.core.reporters.NullStoryReporter
pending, pendingMethods
-
Constructor Details
-
TeamCityConsoleOutput
public TeamCityConsoleOutput() -
TeamCityConsoleOutput
-
-
Method Details
-
beforeScenario
- Specified by:
beforeScenarioin interfaceStoryReporter- Overrides:
beforeScenarioin classPrintStreamOutput
-
afterScenario
- Specified by:
afterScenarioin interfaceStoryReporter- Overrides:
afterScenarioin classPrintStreamOutput
-
pending
- Specified by:
pendingin interfaceStoryReporter- Overrides:
pendingin classPrintStreamOutput
-
failed
- Specified by:
failedin interfaceStoryReporter- Overrides:
failedin classPrintStreamOutput
-