diff options
Diffstat (limited to 'www/wiki/extensions/Bootstrap/docs/testing.md')
-rw-r--r-- | www/wiki/extensions/Bootstrap/docs/testing.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/www/wiki/extensions/Bootstrap/docs/testing.md b/www/wiki/extensions/Bootstrap/docs/testing.md new file mode 100644 index 00000000..0c38e32d --- /dev/null +++ b/www/wiki/extensions/Bootstrap/docs/testing.md @@ -0,0 +1,18 @@ +## Testing + +This extension provides unit tests that can be run by a [continuous integration +platform][travis] or manually by executing the `mw-phpunit-runner.php` script or +[`phpunit`][mw-testing] together with the PHPUnit configuration file found in +the root directory of the extension. +```sh +php mw-phpunit-runner.php [options] +``` + +Useful optional parameters: +``` +--coverage-html ../../../report +--debug +``` + +[travis]: https://travis-ci.org/wikimedia/mediawiki-skins-chameleon +[mw-testing]: https://www.mediawiki.org/wiki/Manual:PHP_unit_testing |