4 * This file is part of the Behat.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 namespace Behat\Behat\Output\Node\Printer;
13 use Behat\Behat\Tester\Result\StepResult;
14 use Behat\Gherkin\Node\FeatureNode;
15 use Behat\Gherkin\Node\OutlineNode;
16 use Behat\Testwork\Output\Formatter;
17 use Behat\Testwork\Tester\Result\TestResult;
20 * Prints outline table representation headers and footers.
22 * @author Konstantin Kudryashov <ever.zet@gmail.com>
24 interface OutlineTablePrinter
27 * Prints outline header using provided printer and first row example step results.
29 * @param Formatter $formatter
30 * @param FeatureNode $feature
31 * @param OutlineNode $outline
32 * @param StepResult[] $results
34 public function printHeader(Formatter $formatter, FeatureNode $feature, OutlineNode $outline, array $results);
37 * Prints outline footer using provided printer.
39 * @param Formatter $formatter
40 * @param TestResult $result
42 public function printFooter(Formatter $formatter, TestResult $result);