Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401]

   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['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.<br/>Or, if $CFG->behat_prefix is the same, $CFG->behat_dbname or $CFG->behat_dbhost need to be different from $CFG->phpunit_dbname and $CFG->phpunit_dbhost and from $CFG->dbname and $CFG->dbhost.';
  32  $string['fieldvalueargument'] = 'Field value arguments';
  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="https://moodledev.io/general/development/tools/behat" target="_blank">Acceptance_testing</a> for details of expected field values.';
  34  $string['giveninfo'] = 'Given. Processes to set up the environment';
  35  $string['infoheading'] = 'Info';
  36  $string['installinfo'] = 'Read {$a} for installation and tests execution info';
  37  $string['newstepsinfo'] = 'Read {$a} for info about how to add new step definitions';
  38  $string['newtestsinfo'] = 'Read {$a} for info about how to write new tests';
  39  $string['nostepsdefinitions'] = 'There aren\'t any step definitions matching this filter';
  40  $string['pluginname'] = 'Acceptance testing';
  41  $string['stepsdefinitionscomponent'] = 'Area';
  42  $string['stepsdefinitionscontains'] = 'Contains';
  43  $string['stepsdefinitionsfilters'] = 'Step definitions';
  44  $string['stepsdefinitionstype'] = 'Type';
  45  $string['theninfo'] = 'Then. Checkings to ensure the outcomes are the expected ones';
  46  $string['unknownexceptioninfo'] = 'There was a problem with Selenium or your browser. Please ensure you are using the latest version of Selenium. Error:';
  47  $string['viewsteps'] = 'Filter';
  48  $string['warndirrootconfigfound'] = 'A configuration file was found at {$a}. This file is not automatically updated and may become stale. We recommend removing this file.';
  49  $string['wheninfo'] = 'When. Action that provokes an event';
  50  $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>
  51  <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>
  52  <li>You ran "{$a->behatinit}" from your Moodle root directory.</li>
  53  <li>Dependencies are installed in vendor/ and {$a->behatcommand} file has execution permissions.</li></ul>';
  54  $string['privacy:metadata'] = 'The Acceptance testing plugin does not store any personal data.';