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\Tester;
13 use Behat\Gherkin\Node\FeatureNode;
14 use Behat\Gherkin\Node\OutlineNode;
15 use Behat\Testwork\Environment\Environment;
16 use Behat\Testwork\Tester\Result\TestResult;
17 use Behat\Testwork\Tester\Setup\Setup;
18 use Behat\Testwork\Tester\Setup\Teardown;
21 * Prepares and tests provided outline object against provided environment.
23 * @author Konstantin Kudryashov <ever.zet@gmail.com>
25 interface OutlineTester
28 * Sets up background for a test.
30 * @param Environment $env
31 * @param FeatureNode $feature
32 * @param OutlineNode $outline
33 * @param Boolean $skip
37 public function setUp(Environment $env, FeatureNode $feature, OutlineNode $outline, $skip);
42 * @param Environment $env
43 * @param FeatureNode $feature
44 * @param OutlineNode $outline
45 * @param Boolean $skip
49 public function test(Environment $env, FeatureNode $feature, OutlineNode $outline, $skip);
52 * Sets up background for a test.
54 * @param Environment $env
55 * @param FeatureNode $feature
56 * @param OutlineNode $outline
57 * @param Boolean $skip
58 * @param TestResult $result
62 public function tearDown(Environment $env, FeatureNode $feature, OutlineNode $outline, $skip, TestResult $result);