Add code coverage report

This commit is contained in:
Ian Dunn 2022-09-13 11:34:51 -07:00
parent 0964167f12
commit 0e88966246
No known key found for this signature in database
GPG key ID: 99B971B50343CBCB
8 changed files with 111 additions and 367 deletions

View file

@ -35,6 +35,7 @@
],
"test" : "phpunit",
"_comment" : "Input won't work when running this via `composer test:watch`. If you want to use PHPUnit Watcher's interactive options then you'll need to call it directly in your terminal. See https://github.com/composer/composer/issues/5856",
"test:watch" : "phpunit-watcher watch"
"test:watch" : "phpunit-watcher watch",
"test:coverage": "php -d xdebug.mode=coverage ./mu-plugins/vendor/bin/phpunit --coverage-html coverage"
}
}