Commit | Line | Data |
---|---|---|
301cbe3a DM |
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. | |
13 | // | |
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/>. | |
16 | ||
17 | /** | |
18 | * Strings for tool_behat | |
19 | * | |
20 | * @package tool_behat | |
21 | * @copyright 2012 David Monllaó | |
22 | * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | |
23 | */ | |
24 | ||
b8c4d91c | 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.'; |
0c19b2c8 | 26 | $string['allavailablesteps'] = 'All available step definitions'; |
b8c4d91c DM |
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.'; | |
7e3f5e79 | 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.'; |
decf1e14 | 32 | $string['fieldvalueargument'] = 'Field value arguments'; |
0c19b2c8 | 33 | $string['fieldvalueargument_help'] = 'This argument should be completed by a field value. There are many field types, including simple ones like checkboxes, selects or textareas, or complex ones like date selectors. See the dev documentation <a href="http://docs.moodle.org/dev/Acceptance_testing" target="_blank">Acceptance_testing</a> for details of expected field values.'; |
d46340eb | 34 | $string['giveninfo'] = 'Given. Processes to set up the environment'; |
cb9c703c | 35 | $string['infoheading'] = 'Info'; |
95167121 | 36 | $string['installinfo'] = 'Read {$a} for installation and tests execution info'; |
0c19b2c8 | 37 | $string['newstepsinfo'] = 'Read {$a} for info about how to add new step definitions'; |
95167121 | 38 | $string['newtestsinfo'] = 'Read {$a} for info about how to write new tests'; |
0c19b2c8 | 39 | $string['nostepsdefinitions'] = 'There aren\'t any step definitions matching this filter'; |
33005f68 | 40 | $string['pluginname'] = 'Acceptance testing'; |
d46340eb DM |
41 | $string['stepsdefinitionscomponent'] = 'Area'; |
42 | $string['stepsdefinitionscontains'] = 'Contains'; | |
0c19b2c8 | 43 | $string['stepsdefinitionsfilters'] = 'Step definitions'; |
d46340eb DM |
44 | $string['stepsdefinitionstype'] = 'Type'; |
45 | $string['theninfo'] = 'Then. Checkings to ensure the outcomes are the expected ones'; | |
5a255660 | 46 | $string['unknownexceptioninfo'] = 'There was a problem with Selenium or your browser. Please ensure you are using the latest version of Selenium. Error:'; |
d46340eb | 47 | $string['viewsteps'] = 'Filter'; |
0c19b2c8 | 48 | $string['wheninfo'] = 'When. Action that provokes an event'; |
b8c4d91c DM |
49 | $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> |
50 | <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> | |
51 | <li>You ran "{$a->behatinit}" from your Moodle root directory.</li> | |
52 | <li>Dependencies are installed in vendor/ and {$a->behatcommand} file has execution permissions.</li></ul>'; | |
de33cd0c | 53 | $string['privacy:metadata'] = 'The Acceptance testing plugin does not store any personal data.'; |