ConsoleFormatter
└─ProgressFormatter
└─PrettyFormatter
└─HtmlFormatter
public class HtmlFormatter
extends PrettyFormatter
| Method Summary | |
|---|---|
| protected array | {@inheritdoc} |
| protected void | printSuiteHeader(LoggerDataCollector logger) Prints suite header. |
| protected void | printSuiteFooter(LoggerDataCollector logger) Prints suite footer information. |
| protected void | printFeatureHeader(FeatureNode feature) Prints feature header. |
| protected void | printFeatureOrScenarioTags(AbstractNode node) Prints node tags. |
| protected void | printFeatureName(FeatureNode feature) Prints feature keyword and name. |
| protected void | printFeatureDescription(FeatureNode feature) Prints feature description. |
| protected void | printFeatureFooter(FeatureNode feature) Prints feature footer. |
| protected void | printBackgroundHeader(BackgroundNode background) Prints background header. |
| protected void | printBackgroundFooter(BackgroundNode background) Prints background footer. |
| protected void | printScenarioHeader(ScenarioNode scenario) Prints scenario header. |
| protected void | printScenarioName(AbstractScenarioNode scenario) Prints scenario keyword and name. |
| protected void | printScenarioFooter(ScenarioNode scenario) Prints scenario footer. |
| protected void | printOutlineHeader(OutlineNode outline) Prints outline header. |
| protected void | printOutlineSteps(OutlineNode outline) Prints outline steps. |
| protected void | printOutlineExamplesSectionHeader(TableNode examples) Prints outline examples header. |
| protected void | printOutlineExampleResult(TableNode examples, integer iteration, integer result, boolean isSkipped) Prints outline example result. |
| protected void | printOutlineExampleResultExceptions(TableNode examples, array events) Prints outline example exceptions. |
| protected void | printOutlineFooter(OutlineNode outline) Prints outline footer. |
| protected void | printStep(StepNode step, integer result, DefinitionInterface definition, string snippet, Exception exception) Prints step. |
| protected void | printStepBlock(StepNode step, DefinitionInterface definition, string color) Prints step block (name & definition path). |
| protected void | printStepName(StepNode step, DefinitionInterface definition, string color) Prints step name. |
| protected void | printStepDefinitionPath(StepNode step, DefinitionInterface definition) Prints step definition path. |
| protected void | printStepPyStringArgument(PyStringNode pystring, string color) Prints PyString argument. |
| protected void | printStepTableArgument(TableNode table, string color) Prints table argument. |
| protected void | printStepException(Exception exception, string color) Prints step exception. |
| protected void | printStepSnippet(DefinitionSnippet snippet) Prints step snippet |
| protected string | colorizeDefinitionArguments(string text, DefinitionInterface definition, string color) Returns step text with colorized arguments. |
| protected void | printColorizedTableRow(array row, string color) Prints table row in color. |
| protected void | printPathLink(DefinitionInterface definition) Prints path link, which links to the source containing the step definition. |
| protected void | printPathComment(string path, int indentCount) |
| protected void | printSummary(LoggerDataCollector logger) |
| protected void | |
| protected void | printStepsSummary(LoggerDataCollector logger) |
| protected void | printTimeSummary(LoggerDataCollector logger) |
| protected void | printStatusesSummary(array statusesStatistics) |
| protected string | Get HTML template. |
| protected string | Get HTML template style. |
| protected string | Get HTML template style. |
| protected string | Get HTML template script. |
| Methods inherited from Behat\Behat\Formatter\ProgressFormatter | |
|---|---|
| afterStep, afterSuite, getDefaultParameters, getSubscribedEvents, printExceptionEvents, printFailedSteps, printPathComment, printPendingSteps, printScenariosSummary, printSnippets, printStatusesSummary, printStep, printStepPath, printStepsSummary, printSummary, printTimeSummary, printUndefinedStepsSnippets, relativizePathsInString | |
| Methods inherited from Behat\Behat\Formatter\ConsoleFormatter | |
|---|---|
| __construct, configureOutputConsole, createOutputConsole, createOutputStream, exceptionToString, flushOutputConsole, getDefaultParameters, getParameter, getResultColorCode, getWritingConsole, hasParameter, setParameter, setTranslator, translate, translateChoice, write, writeln | |
protected array getDefaultParameters()
{@inheritdoc}
protected void printSuiteHeader(LoggerDataCollector logger)
Prints suite header.
protected void printSuiteFooter(LoggerDataCollector logger)
Prints suite footer information.
protected void printFeatureHeader(FeatureNode feature)
Prints feature header.
protected void printFeatureOrScenarioTags(AbstractNode node)
Prints node tags.
protected void printFeatureName(FeatureNode feature)
Prints feature keyword and name.
protected void printFeatureDescription(FeatureNode feature)
Prints feature description.
protected void printFeatureFooter(FeatureNode feature)
Prints feature footer.
protected void printBackgroundHeader(BackgroundNode background)
Prints background header.
protected void printBackgroundFooter(BackgroundNode background)
Prints background footer.
protected void printScenarioHeader(ScenarioNode scenario)
Prints scenario header.
protected void printScenarioName(AbstractScenarioNode scenario)
Prints scenario keyword and name.
protected void printScenarioFooter(ScenarioNode scenario)
Prints scenario footer.
protected void printOutlineHeader(OutlineNode outline)
Prints outline header.
protected void printOutlineSteps(OutlineNode outline)
Prints outline steps.
protected void printOutlineExamplesSectionHeader(TableNode examples)
Prints outline examples header.
protected void printOutlineExampleResult(TableNode examples, integer iteration, integer result, boolean isSkipped)
Prints outline example result.
protected void printOutlineExampleResultExceptions(TableNode examples, array events)
Prints outline example exceptions.
protected void printOutlineFooter(OutlineNode outline)
Prints outline footer.
protected void printStep(StepNode step, integer result, DefinitionInterface definition, string snippet, Exception exception)
Prints step.
protected void printStepBlock(StepNode step, DefinitionInterface definition, string color)
Prints step block (name & definition path).
protected void printStepName(StepNode step, DefinitionInterface definition, string color)
Prints step name.
protected void printStepDefinitionPath(StepNode step, DefinitionInterface definition)
Prints step definition path.
protected void printStepPyStringArgument(PyStringNode pystring, string color)
Prints PyString argument.
protected void printStepTableArgument(TableNode table, string color)
Prints table argument.
protected void printStepException(Exception exception, string color)
Prints step exception.
protected void printStepSnippet(DefinitionSnippet snippet)
Prints step snippet
protected string colorizeDefinitionArguments(string text, DefinitionInterface definition, string color)
Returns step text with colorized arguments.
protected void printColorizedTableRow(array row, string color)
Prints table row in color.
protected void printPathLink(DefinitionInterface definition)
Prints path link, which links to the source containing the step definition.
protected void printPathComment(string path, int indentCount)
protected void printSummary(LoggerDataCollector logger)
protected void printScenariosSummary(LoggerDataCollector logger)
protected void printStepsSummary(LoggerDataCollector logger)
protected void printTimeSummary(LoggerDataCollector logger)
protected void printStatusesSummary(array statusesStatistics)
protected string getHtmlTemplate()
Get HTML template.
protected string getHtmlTemplateStyle()
Get HTML template style.
protected string getHtmlTemplatePrintStyle()
Get HTML template style.
protected string getHtmlTemplateScript()
Get HTML template script.
HTML formatter.