-
Task
-
Resolution: Fixed
-
Critical
-
2.2
-
MOODLE_22_STABLE
-
MOODLE_23_STABLE
-
w15_
MDL-32323_m23_phpunit3 -
converted and new tests:
- gradebook tests
- phpunit integration self-tests
- /question/* - 2 minor issues left - see
MDL-32375 - mod_data search
other:
- wrapper for execution via Web UI - for OU test servers (for now hidden) - admin/tool/phpunit/webrunner.php
- automated initialisation shell script in admin/tool/phpunit/cli/init.*
- custom db connection info via $CFG->phpunit_database ...
- better diagnostics of missing $CFG->phpunit_dataroot and $CFG->phpunit_prefix
- new module and block callbacks in data generator
- better perf for mysql and pg, more accurate reset after each test
- Windows supported
- schema for phpunit.xml configuration
- prevention of cuncurrent test execution
- support for global $DB mocking
- dataset loading support
- many more bugfixes and improvements
documentation:
todo in stage 4:
- discuss problem in navigationlib_test.php method test_find_expandable() with SamH
- completionlib - using mocks heavily
- webservices - seems to do nothing
- delete all converted simpletests
- hide simpletest UI
- Discovered while testing
-
MDL-32375 Question test migration to PHPunit has 2 issues
-
- Closed
-
- has a non-specific relationship to
-
MDL-32400 phpunit support - stage 4
-
- Closed
-
- is blocked by
-
MDL-32365 id non-autoincrement troubles
-
- Closed
-
-
MDL-32368 force pg to always use old bytea encoding
-
- Closed
-
-
MDL-32149 phpunit support - stage 2
-
- Closed
-
- is duplicated by
-
MDL-32152 database connection problems while running unit tests
-
- Closed
-
-
MDL-32271 Create core moodle test tables for unit tests.
-
- Closed
-