summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Bootstrap/docs/testing.md
blob: 0c38e32d915d6ca0355a517ff81e07f5febcb6e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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