Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function printStep(Formatter $formatter, Scenario $scenario, StepNode $step, StepResult $result)
 {
     $this->printText($formatter->getOutputPrinter(), $step->getKeyword(), $step->getText(), $result);
     $this->pathPrinter->printStepPath($formatter, $scenario, $step, $result, mb_strlen($this->indentText, 'utf8'));
     $this->printArguments($formatter, $step->getArguments(), $result);
     $this->printStdOut($formatter->getOutputPrinter(), $result);
     $this->printException($formatter->getOutputPrinter(), $result);
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function printHeader(Formatter $formatter, FeatureNode $feature, Scenario $scenario)
 {
     if ($scenario instanceof TaggedNodeInterface) {
         $this->printTags($formatter->getOutputPrinter(), $scenario->getTags());
     }
     $this->printKeyword($formatter->getOutputPrinter(), $scenario->getKeyword());
     $this->printTitle($formatter->getOutputPrinter(), $scenario->getTitle());
     $this->pathPrinter->printScenarioPath($formatter, $feature, $scenario, mb_strlen($this->indentText, 'utf8'));
     $this->printDescription($formatter->getOutputPrinter(), $scenario->getTitle());
 }
Ejemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 public function printHeader(Formatter $formatter, FeatureNode $feature, ExampleNode $example)
 {
     $this->printTitle($formatter->getOutputPrinter(), $example);
     $this->pathPrinter->printScenarioPath($formatter, $feature, $example, mb_strlen($this->indentText, 'utf8'));
 }