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]

Wrapper to run previously set-up behat tests in parallel.

Copyright: 2014 NetSpot Pty Ltd
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 524 lines (19 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 4 files
 lib/behat/classes/behat_config_manager.php
 lib/behat/lib.php
 lib/behat/classes/behat_command.php
 lib/clilib.php

Defines 5 functions


Functions that are not part of a class:

signal_handler($signal)   X-Ref
Signal handler for terminal exit.

param: int $signal signal number.

print_process_start_info($processes)   X-Ref
Prints header from the first process.

param: array $processes list of processes to loop though.

print_combined_run_output($processes, $stoponfail = false)   X-Ref
Loop though all processes and print combined o/p

param: array $processes list of processes to loop though.
param: bool $stoponfail Stop all processes and exit if failed.
return: array list of exit codes from all processes.

print_each_process_info($processes, $verbose = false, $status = 0)   X-Ref
Loop though all processes and print combined o/p

param: array $processes list of processes to loop though.
param: bool $verbose Show verbose output for each process.

get_status_lines_from_run_op(Symfony\Component\Process\Process $process)   X-Ref
Extract status information from behat o/p and return.

param: Symfony\Component\Process\Process $process
return: string