Skip to content

Commit

Permalink
Run coverage generation as part of the test command
Browse files Browse the repository at this point in the history
This is to detect incorrect @Covers tags before the code gets to ScutinizerCI. We are already doing this at https://github.com/wmde/WikibaseDataModelServices/blob/master/composer.json

A better approach would be nice though, considering this slows down the execution of the test command by doing a lot of not needed work. Apparently this is not going to come from the PHPUnit side though, as per sebastianbergmann/phpunit#1760
  • Loading branch information
JeroenDeDauw committed Aug 7, 2015
1 parent d71d4f2 commit bd35c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"scripts": {
"test": [
"composer validate --no-interaction",
"phpunit"
"phpunit --coverage-text=/dev/null"
],
"cs": [
"composer phpcs",
Expand Down

0 comments on commit bd35c86

Please sign in to comment.