noregression / coverage-reporter
Print the total code coverage and exit with the right exit code
Installs: 41
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/noregression/coverage-reporter
Requires
- symfony/console: ^2.6
This package is not auto-updated.
Last update: 2025-10-12 00:20:31 UTC
README
Prints out the code coverage and exits with an error if the code coverage is below the threshold.
The coverage is determined by a clover coverage report that can be generate by PHPUnit, just by adding the --coverage-clover
option.
Installation
composer require noregression/coverage-reportor
Usage
bin/ci coverage:report /tmp/clover.xml -m 90
Replace /tmp/clover.xml
with the path to your clover coverage report.
-m 90
means the minimum code coverage must be 90%.