-
New Feature
-
Resolution: Fixed
-
Blocker
-
2.2
-
MOODLE_22_STABLE
-
MOODLE_23_STABLE
-
w12_
MDL-31857_m23_phpunit -
Basic support for phpunit testing:
- bootstart file - must be used in "-c" parameter or in xml config file - see phpunit.xml.dist
- initialisation of separate database and dataroot - see config-dist.php, use admin/tool/phpunit/cgi/util.php
- basic_testcase for tests that do not modify database - it detects changes in CFG, USER and database (resets them if necessary)
- documentation is in lib/phpunit/readme.md
- will help resolve
-
MDL-32149 phpunit support - stage 2
-
- Closed
-