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\Gherkin\Node\FeatureNode;
14 use Behat\Gherkin\Node\OutlineNode;
15 use Behat\Testwork\Output\Formatter;
16 use Behat\Testwork\Tester\Result\TestResult;
19 * Prints outline headers and footers.
21 * @author Konstantin Kudryashov <ever.zet@gmail.com>
23 interface OutlinePrinter
26 * Prints outline header using provided printer.
28 * @param Formatter $formatter
29 * @param FeatureNode $feature
30 * @param OutlineNode $outline
32 public function printHeader(Formatter $formatter, FeatureNode $feature, OutlineNode $outline);
35 * Prints outline footer using provided printer.
37 * @param Formatter $formatter
38 * @param TestResult $result
40 public function printFooter(Formatter $formatter, TestResult $result);