Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 311 and 400] [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403]

   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  
  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 available step definitions';
  27  $string['errorapproot'] = '$CFG->behat_ionic_dirroot is not pointing to a valid Moodle app developer install.';
  28  $string['errorbehatcommand'] = 'Error running behat CLI command. Try running "{$a} --help" manually from CLI to find out more about the problem.';
  29  $string['errorcomposer'] = 'Composer dependencies are not installed.';
  30  $string['errordataroot'] = '$CFG->behat_dataroot is not set or is invalid.';
  31  $string['errorsetconfig'] = '$CFG->behat_dataroot, $CFG->behat_prefix and $CFG->behat_wwwroot need to be set in config.php.';
  32  $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.';
  33  $string['fieldvalueargument'] = 'Field value arguments';
  34  $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="https://docs.moodle.org/dev/Acceptance_testing" target="_blank">Acceptance_testing</a> for details of expected field values.';
  35  $string['giveninfo'] = 'Given. Processes to set up the environment';
  36  $string['infoheading'] = 'Info';
  37  $string['installinfo'] = 'Read {$a} for installation and tests execution info';
  38  $string['newstepsinfo'] = 'Read {$a} for info about how to add new step definitions';
  39  $string['newtestsinfo'] = 'Read {$a} for info about how to write new tests';
  40  $string['nostepsdefinitions'] = 'There aren\'t any step definitions matching this filter';
  41  $string['pluginname'] = 'Acceptance testing';
  42  $string['stepsdefinitionscomponent'] = 'Area';
  43  $string['stepsdefinitionscontains'] = 'Contains';
  44  $string['stepsdefinitionsfilters'] = 'Step definitions';
  45  $string['stepsdefinitionstype'] = 'Type';
  46  $string['theninfo'] = 'Then. Checkings to ensure the outcomes are the expected ones';
  47  $string['unknownexceptioninfo'] = 'There was a problem with Selenium or your browser. Please ensure you are using the latest version of Selenium. Error:';
  48  $string['viewsteps'] = 'Filter';
  49  $string['warndirrootconfigfound'] = 'A configuration file was found at {$a}. This file is not automatically updated and may become stale. We recommend removing this file.';
  50  $string['wheninfo'] = 'When. Action that provokes an event';
  51  $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>
  52  <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>
  53  <li>You ran "{$a->behatinit}" from your Moodle root directory.</li>
  54  <li>Dependencies are installed in vendor/ and {$a->behatcommand} file has execution permissions.</li></ul>';
  55  $string['privacy:metadata'] = 'The Acceptance testing plugin does not store any personal data.';