Package org.jbehave.core.reporters
package org.jbehave.core.reporters
-
ClassDescriptionStory reporter that outputs as ANSI-coded text to System.out.When running a multithreading mode, reports cannot be written concurrently but should be delayed and invoked only at the end of a story, ensuring synchronization on the delegate responsible for the reporting.Story reporter that outputs as TXT to System.out.Reporter which collects other
StoryReporters and delegates all invocations to the collected reporters.CreatesPrintStreaminstances that write to a file identified by theStoryLocation.Resolves directory from code location parent file.Configuration class for file print streams.Resolves story location path to java packaged name, replacing '/' with '.'Resolves story location path to simple name, considering portion after last '/'.A Format is aStoryReporterfactory, allowing named-based pre-defined story reporters to be configured via theStoryReporterBuilder.withFormats(Format...)method.Freemarker-basedViewGenerator, which uses the configured FTL templates for the views.Story reporter that outputs to a PrintStream, as HTML.A templateable output that generates HTML.Outputs to the console only if running in an IDE.Story reporter that outputs to a PrintStream, as JSON.A templateable output that generates JSON.Null-object implementation ofStoryReporter.Reporter that collects statistics and writes them as properties to output stream after each storyCreatesPrintStreaminstances.Abstract story reporter that outputs to a PrintStream.ManagesSGRCodes.SGRCodes used byANSIConsoleOutputFilters out the reports from all stories that pass, The delegate receives output only for failing or pending stories.When a step fails, theThrowablethat caused the failure is wrapped in aStepFailedtogether with the step during which the failure occurred.Allows the runner to report the state of running storiesA Builder forStoryReporters.A Format that wraps a StoryReporter instance provided.A breadcrumb-based naming strategy: [story path with breadcrumbs].[story name].[scenario title]A simple naming strategy: [story name].[scenario title]Decorates console output to allow TeamCity build script interaction: * https://confluence.jetbrains.com/display/TCD9/Build+Script+Interaction+with+TeamCityStory reporter that outputs to a template.ViewGenerator, which uses the configuredTemplateProcessorto generate the views from templates.Story reporter that outputs to a PrintStream, as TXT.A view generator is responsible for creating a collective views of stories, either story maps or file-based reports of stories run.Story reporter that outputs to a PrintStream, as XML.A templateable output that generates XML.