1 | <?php |
||
11 | class TestModuleContext extends RawDrupalContext |
||
12 | { |
||
13 | /** |
||
14 | * Gets all with-module tags from a scenario scope. |
||
15 | * |
||
16 | * @param \Behat\Behat\Hook\Scope\ScenarioScope $scope |
||
17 | * The scenario scope. |
||
18 | * |
||
19 | * @return string[] |
||
20 | * The machine names of the modules to enable during the scenario. |
||
21 | */ |
||
22 | protected function getTestModulesFromTags(ScenarioScope $scope) |
||
34 | |||
35 | /** |
||
36 | * Installs test modules for this scenario. |
||
37 | * |
||
38 | * @param \Behat\Behat\Hook\Scope\BeforeScenarioScope $scope |
||
39 | * The scenario scope. |
||
40 | * |
||
41 | * @BeforeScenario |
||
42 | */ |
||
43 | public function installTestModules(BeforeScenarioScope $scope) |
||
49 | |||
50 | /** |
||
51 | * Unistalls test modules for this scenario. |
||
52 | * |
||
53 | * @param \Behat\Behat\Hook\Scope\BeforeScenarioScope $scope |
||
54 | * The scenario scope. |
||
55 | * |
||
56 | * @AfterScenario |
||
57 | */ |
||
58 | public function uninstallTestModules(BeforeScenarioScope $scope) |
||
64 | } |
||
65 |