Skip to content

Commit c03c575

Browse files
committed
rregeer/phpunit-coverage-check
1 parent 2d748b5 commit c03c575

File tree

3 files changed

+51
-3
lines changed

3 files changed

+51
-3
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@
5959
"zbateson/mail-mime-parser": "^3.0"
6060
},
6161
"require-dev": {
62-
"phpunit/phpunit": "^10.5"
62+
"phpunit/phpunit": "^10.5",
63+
"rregeer/phpunit-coverage-check": "^0.3.1"
6364
},
6465
"suggest": {
6566
"ext-pdo": "To use database features, this needs to be installed",

composer.lock

Lines changed: 47 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/phpunit/run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ else
4242
exit 1
4343
fi
4444

45-
phpunit --bootstrap vendor/autoload.php --configuration ${SCRIPT_DIR}/phpunit.xml --testdox --min-coverage=100 $@
45+
phpunit --bootstrap vendor/autoload.php --configuration ${SCRIPT_DIR}/phpunit.xml --coverage-clover clover.xml --testdox $@
46+
coverage-check clover.xml 100

0 commit comments

Comments
 (0)