Skip to content

Commit

Permalink
Merge pull request #104 from odan/phpunit-coverage
Browse files Browse the repository at this point in the history
Add phpunit coverage report
  • Loading branch information
odan committed Jul 12, 2024
2 parents 20fae35 + ab4571f commit fb82ee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"test:all": [
"@sniffer:check",
"@stan",
"@test"
"@test:coverage"
],
"test:coverage": "php -d xdebug.mode=coverage -r \"require 'vendor/bin/phpunit';\" -- --configuration phpunit.xml --do-not-cache-result --colors=always --coverage-clover build/logs/clover.xml --coverage-html build/coverage"
"test:coverage": "php -d xdebug.mode=coverage -r \"require 'vendor/bin/phpunit';\" -- --configuration phpunit.xml --do-not-cache-result --colors=always --coverage-clover build/logs/clover.xml --coverage-html build/coverage --coverage-text"
}
}

0 comments on commit fb82ee2

Please sign in to comment.