Skip to content

Commit 81cdc21

Browse files
committed
setting up the coverage option for phpunit
1 parent 93e009a commit 81cdc21

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ vendor
1313
.php-cs-fixer.cache
1414
.zed
1515
.DS_Store
16+
output-coverage-html/

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
],
5858
"test": "vendor/bin/phpunit --exclude-group url",
5959
"test-with-url": "vendor/bin/phpunit",
60-
"test-coverage": "vendor/bin/phpunit --coverage",
60+
"test-coverage": "vendor/bin/phpunit --coverage-html ./output-coverage-html",
6161
"phpstan": "vendor/bin/phpstan",
6262
"format": "vendor/bin/pint",
6363
"rector": "vendor/bin/rector"

0 commit comments

Comments
 (0)