Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Class: tool_behat_manager_util_testcase  - X-Ref

Behat manager tests.

setUp()   X-Ref
Setup test.


get_behat_config_util($behatconfigutil, $notheme = false)   X-Ref
Utility function to build mock object.

param: behat_config_util $behatconfigutil
param: bool $notheme
return: mixed

test_get_config_file_contents_with_single_run()   X-Ref
Behat config for single run.


test_get_config_file_contents_with_single_run_no_theme()   X-Ref
Behat config for single run with no theme installed.


test_get_config_file_contents_with_parallel_run()   X-Ref
Behat config for parallel run.


test_get_config_file_contents_with_parallel_run_optimize_tags()   X-Ref
Behat config for parallel run.


test_get_clean_feature_key_and_path($featurepath, $key, $cleanfeaturepath)   X-Ref
Test if clean features key and path is returned.


clean_features_path_list()   X-Ref
No description

test_get_config_file_contents_with_blacklisted_tags()   X-Ref
Behat config for blacklisted tags.


test_get_config_file_contents_with_blacklisted_features_contexts()   X-Ref
Behat config for blacklisted features.


test_core_features_to_include_in_specified_theme()   X-Ref
Behat config for blacklisted tags.