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\Suite\Generator;
13 use Behat\Testwork\Suite\Suite;
14 use Behat\Testwork\Suite\SuiteRegistry;
17 * Generates a suite using provided name, settings and parameters.
21 * @author Konstantin Kudryashov <ever.zet@gmail.com>
23 interface SuiteGenerator
26 * Checks if generator support provided suite type and settings.
29 * @param array $settings
33 public function supportsTypeAndSettings($type, array $settings);
36 * Generate suite with provided name and settings.
38 * @param string $suiteName
39 * @param array $settings
43 public function generateSuite($suiteName, array $settings);