BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages

This skin provides unit tests that can be run by a continuous integration platform or manually by executing the mw-phpunit-runner.php script or `phpunit` together with the PHPUnit configuration file found in the root directory of the skin. ```sh php tests/mw-phpunit-runner.php [options] ```

Useful optional parameters: ``` –coverage-html ../../../report –debug ```

To test against an external HTML validation service ( set the USE_EXTERNAL_HTML_VALIDATOR setting to true in phpunit.xml.dist. Please be careful with their resources and use this setting sparingly. If you do this, you may also want to set printerClass="Skins\\Chameleon\\Tests\\Util\\ColoringTextUIResultPrinter" as an additional attribute in the phpunit element to colorize then tests that connect to the external service.