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
public class TeamCityConsoleOutput extends ConsoleOutput
Decorates console output to allow TeamCity build script interaction: * https://confluence.jetbrains.com/display/TCD9/Build+Script+Interaction+with+TeamCityScenarios 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 Constructor Description TeamCityConsoleOutput()TeamCityConsoleOutput(Keywords keywords)
-
Method Summary
Modifier and Type Method Description voidafterScenario(Timing timing)voidbeforeScenario(Scenario scenario)voidfailed(String step, Throwable storyFailure)voidpending(StepCreator.PendingStep step)-
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 Detail
-
TeamCityConsoleOutput
public TeamCityConsoleOutput()
-
TeamCityConsoleOutput
public TeamCityConsoleOutput(Keywords keywords)
-
-
Method Detail
-
beforeScenario
public void beforeScenario(Scenario scenario)
- Specified by:
beforeScenarioin interfaceStoryReporter- Overrides:
beforeScenarioin classPrintStreamOutput
-
afterScenario
public void afterScenario(Timing timing)
- Specified by:
afterScenarioin interfaceStoryReporter- Overrides:
afterScenarioin classPrintStreamOutput
-
pending
public void pending(StepCreator.PendingStep step)
- Specified by:
pendingin interfaceStoryReporter- Overrides:
pendingin classPrintStreamOutput
-
failed
public void failed(String step, Throwable storyFailure)
- Specified by:
failedin interfaceStoryReporter- Overrides:
failedin classPrintStreamOutput
-
-