4 * This file is part of the Behat Testwork.
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\Testwork\Tester;
13 use Behat\Testwork\Environment\Environment;
14 use Behat\Testwork\Specification\SpecificationIterator;
15 use Behat\Testwork\Tester\Result\TestResult;
16 use Behat\Testwork\Tester\Setup\Setup;
17 use Behat\Testwork\Tester\Setup\Teardown;
20 * Prepares and tests provided suite specifications against provided environment.
22 * @author Konstantin Kudryashov <ever.zet@gmail.com>
27 * Sets up suite for a test.
29 * @param Environment $env
30 * @param SpecificationIterator $iterator
31 * @param Boolean $skip
35 public function setUp(Environment $env, SpecificationIterator $iterator, $skip);
38 * Tests provided suite specifications.
40 * @param Environment $env
41 * @param SpecificationIterator $iterator
42 * @param Boolean $skip
46 public function test(Environment $env, SpecificationIterator $iterator, $skip);
49 * Tears down suite after a test.
51 * @param Environment $env
52 * @param SpecificationIterator $iterator
53 * @param Boolean $skip
54 * @param TestResult $result
58 public function tearDown(Environment $env, SpecificationIterator $iterator, $skip, TestResult $result);