chore(composer): update test coverage command to output HTML report
This change modifies the test coverage command to generate an HTML report in the coverage-report directory.
This commit is contained in:
parent
dea8599b1e
commit
e833d1c75a
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -21,6 +21,7 @@
|
|||
/storage/*.key
|
||||
/storage/pail
|
||||
/vendor
|
||||
/coverage-report
|
||||
_ide_helper.php
|
||||
Homestead.json
|
||||
Homestead.yaml
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@
|
|||
],
|
||||
"test:coverage": [
|
||||
"@php artisan config:clear --ansi @no_additional_args",
|
||||
"@php artisan test --coverage --min=85"
|
||||
"@php artisan test --coverage --coverage-html coverage-report --min=85"
|
||||
],
|
||||
"lint": [
|
||||
"vendor/bin/parallel-lint --exclude vendor --exclude storage --exclude bootstrap --exclude node_modules .",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue