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