MDL-43450 behat: Checking the ->behat_* vars contents before showing the steps list
[moodle.git] / admin / tool / behat / lang / en / tool_behat.php
blobb07e92f69c69b54b20f8759e01e72b54c82ec666
1 <?php
2 // This file is part of Moodle - http://moodle.org/
3 //
4 // Moodle is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // Moodle is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // You should have received a copy of the GNU General Public License
15 // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
17 /**
18 * Strings for tool_behat
20 * @package tool_behat
21 * @copyright 2012 David MonllaĆ³
22 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
25 $string['aim'] = 'This administration tool helps developers and test writers to create .feature files describing Moodle\'s functionalities and run them automatically. Step definitions available for use in .feature files are listed below.';
26 $string['allavailablesteps'] = 'All the available steps definitions';
27 $string['errorbehatcommand'] = 'Error running behat CLI command. Try running "{$a} --help" manually from CLI to find out more about the problem.';
28 $string['errorcomposer'] = 'Composer dependencies are not installed.';
29 $string['errordataroot'] = '$CFG->behat_dataroot is not set or is invalid.';
30 $string['errorsetconfig'] = '$CFG->behat_dataroot, $CFG->behat_prefix and $CFG->behat_wwwroot need to be set in config.php.';
31 $string['erroruniqueconfig'] = '$CFG->behat_dataroot, $CFG->behat_prefix and $CFG->behat_wwwroot values need to be different than $CFG->dataroot, $CFG->prefix, $CFG->wwwroot, $CFG->phpunit_dataroot and $CFG->phpunit_prefix values.';
32 $string['giveninfo'] = 'Given. Processes to set up the environment';
33 $string['infoheading'] = 'Info';
34 $string['installinfo'] = 'Read {$a} for installation and tests execution info';
35 $string['newstepsinfo'] = 'Read {$a} for info about how to add new steps definitions';
36 $string['newtestsinfo'] = 'Read {$a} for info about how to write new tests';
37 $string['nostepsdefinitions'] = 'There aren\'t steps definitions matching this filters';
38 $string['pluginname'] = 'Acceptance testing';
39 $string['stepsdefinitionscomponent'] = 'Area';
40 $string['stepsdefinitionscontains'] = 'Contains';
41 $string['stepsdefinitionsfilters'] = 'Steps definitions';
42 $string['stepsdefinitionstype'] = 'Type';
43 $string['theninfo'] = 'Then. Checkings to ensure the outcomes are the expected ones';
44 $string['unknownexceptioninfo'] = 'There was a problem with Selenium or your browser. Please ensure you are using the latest version of Selenium. Error:';
45 $string['viewsteps'] = 'Filter';
46 $string['wheninfo'] = 'When. Actions that provokes an event';
47 $string['wrongbehatsetup'] = 'Something is wrong with the behat setup and so step definitions cannot be listed: <b>{$a->errormsg}</b><br/><br/>Please check:<ul>
48 <li>$CFG->behat_dataroot, $CFG->behat_prefix and $CFG->behat_wwwroot are set in config.php with different values from $CFG->dataroot, $CFG->prefix and $CFG->wwwroot.</li>
49 <li>You ran "{$a->behatinit}" from your Moodle root directory.</li>
50 <li>Dependencies are installed in vendor/ and {$a->behatcommand} file has execution permissions.</li></ul>';