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]

CLI tool with utilities to manage Behat integration in Moodle All CLI utilities uses $CFG->behat_dataroot and $CFG->prefix_dataroot as $CFG->dataroot and $CFG->prefix Same applies for $CFG->behat_dbname, $CFG->behat_dbuser, $CFG->behat_dbpass and $CFG->behat_dbhost. But if any of those is not defined $CFG->dbname, $CFG->dbuser, $CFG->dbpass and/or $CFG->dbhost will be used.

Copyright: 2012 David MonllaĆ³
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 310 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 2 files
 lib/clilib.php
 lib/behat/lib.php

Defines 1 function


Functions that are not part of a class:

print_update_step_output($process, $featurestepfile)   X-Ref
Print update progress as dots for updating feature file step list.

param: Process $process process executing update step command.
param: string $featurestepfile feature step file in which steps will be saved.
return: int exitcode.