|
Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Functions | |
| behat_check_config_vars () | |
| Checks that the behat config vars are properly set. | |
| behat_clean_init_config () | |
| Restrict the config.php settings allowed. | |
| behat_error ($errorcode, $text='') | |
| Exits with an error code. | |
| behat_error_handler ($errno, $errstr, $errfile, $errline) | |
| PHP errors handler to use when running behat tests. | |
| behat_get_command_flags (string $option, $value) | |
| Get command flags for an option/value combination. | |
| behat_get_error_string ($errtype) | |
| Return logical error string. | |
| behat_get_run_process () | |
| Get behat run process from either $_SERVER or command config. | |
| behat_get_shutdown_process_errors () | |
| Return php errors save which were save during shutdown. | |
| behat_is_requested_url ($url) | |
| Checks if the URL requested by the user matches the provided argument. | |
| behat_is_test_site () | |
| Should we switch to the test site data? | |
| behat_shutdown_function () | |
| Before shutdown save last error entries, so we can fail the test. | |
| behat_update_vars_for_process () | |
| Fix variables for parallel behat testing. | |
| cli_execute_parallel ($cmds, $cwd=null, $delay=0) | |
| Execute commands in parallel. | |
Variables | |
| const | BEHAT_EXITCODE_CONFIG 250 |
| Behat basic functions. | |
| const | BEHAT_EXITCODE_INSTALL 254 |
| const | BEHAT_EXITCODE_INSTALLED 256 |
| const | BEHAT_EXITCODE_PERMISSIONS 252 |
| const | BEHAT_EXITCODE_REINSTALL 253 |
| const | BEHAT_EXITCODE_REQUIREMENT 251 |
| const | BEHAT_PARALLEL_SITE_NAME "behatrun" |
| The behat test site fullname and shortname. | |