Manual:PHP unit testing/Code coverage

This manual explains how to generate code coverage on your local workstation. This can be useful to understand how coverage works and to see progress on your work before submitting your change to Gerrit.

Ensure you have: If using PHPUnit 4 or higher, be sure to disable "strict" mode first by removing the attribute from.
 * PHPUnit installed.
 * Xdebug installed.

Run the following script:

Externa links

 * https://doc.wikimedia.org/cover/mediawiki-core/master/php/