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\Testwork\Output\Formatter;
15 use Behat\Testwork\Tester\Result\TestResult;
18 * Prints feature headers and footers.
20 * @author Konstantin Kudryashov <ever.zet@gmail.com>
22 interface FeaturePrinter
25 * Prints feature header using provided formatter.
27 * @param Formatter $formatter
28 * @param FeatureNode $feature
30 public function printHeader(Formatter $formatter, FeatureNode $feature);
33 * Prints feature footer using provided printer.
35 * @param Formatter $formatter
36 * @param TestResult $result
38 public function printFooter(Formatter $formatter, TestResult $result);