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 void
afterScenario(Timing timing)
void
beforeScenario(Scenario scenario)
void
failed(String step, Throwable storyFailure)
void
pending(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:
beforeScenario
in interfaceStoryReporter
- Overrides:
beforeScenario
in classPrintStreamOutput
-
afterScenario
public void afterScenario(Timing timing)
- Specified by:
afterScenario
in interfaceStoryReporter
- Overrides:
afterScenario
in classPrintStreamOutput
-
pending
public void pending(StepCreator.PendingStep step)
- Specified by:
pending
in interfaceStoryReporter
- Overrides:
pending
in classPrintStreamOutput
-
failed
public void failed(String step, Throwable storyFailure)
- Specified by:
failed
in interfaceStoryReporter
- Overrides:
failed
in classPrintStreamOutput
-
-