Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

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

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/behat/lib.php
 lib/clilib.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.