-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
2.9.1, 2.9.2
We were generating code coverage with PHPUnit for LTI and the generation errors out with debugging messages like this:
~$ vendor/bin/phpunit --testsuite mod_lti_testsuite --coverage-html mod_lti_coverage
|
Moodle 2.8.6 (Build: 20150511), mysqli, 1460f0273ca2f0af53fd7e0441be77d11b90d20e
|
PHPUnit 3.7.38 by Sebastian Bergmann.
|
|
Configuration read from /www/moodle/phpunit.xml
|
|
..........
|
|
Time: 59.33 seconds, Memory: 95.00Mb
|
|
OK (10 tests, 39 assertions)
|
|
Generating code coverage report in HTML format ...
|
Notice: Undefined variable: CFG in /www/moodle/mod/lti/service/toolproxy/classes/local/resource/toolproxy.php on line 31
|
Because of that the coverage generation aborts.
- will be (partly) resolved by
-
MDL-55139 Make components unitest coverage easier and quicker
-
- Closed
-