-
Improvement
-
Resolution: Fixed
-
Minor
-
2.5.1
-
MOODLE_25_STABLE
-
MOODLE_25_STABLE, MOODLE_26_STABLE
-
MDL-41592_master -
The current methods for running Behat tests with PHP 5.3 and 5.4+ are both a bit clunky. Sure, they work for all users but don't really handle more advanced use cases.
This patch allows you to define an alternate wwwroot for Behat. For example, creating a second Hostname/ServerAlias pointing to the same document root. No more need to boot up the in-built PHP webserver or toggle switchcompletely every time you want to run tests.
- caused a regression
-
MDL-43185 Behat cannot create dataroot any more
- Closed
-
MDL-43235 Notice when viewing the steps definitions list without $CFG->behat_wwwroot defined
- Closed
- is duplicated by
-
MDL-42976 behat is not calling realpath() when it is checking that CFG->dataroot and CFG->behat_dataroot are different before creating the test site
- Closed