Unit tests for parts of /lib/behat/lib.php.
Copyright: | 2021 Université Rennes 2 {@link https://www.univ-rennes2.fr} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 96 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
behat_lib_test:: (3 methods):
setUp()
test_behat_is_requested_url()
url_provider()
Class: behat_lib_test - X-Ref
Unit tests for parts of /lib/behat/lib.php.setUp() X-Ref |
Setup function Skip these tests if behat is not configured. return: void |
test_behat_is_requested_url($url, $expectedvalue, $environment) X-Ref |
Tests for behat_is_requested_url() function. param: string $url URL used with behat_is_requested_url() function. param: bool $expectedvalue Expected value returned by behat_is_requested_url() function. param: array $environment Values to override $_SERVER global variable. |
url_provider() X-Ref |
Data provider for test_behat_is_requested_url. return: array Array of values to test behat_is_requested_url() function. |