library coverage-reporter
Print the total code coverage and exit with the right exit code
berrygoudswaard/coverage-reporter
Print the total code coverage and exit with the right exit code
- Monday, May 18, 2015
- by berrygoudswaard
- Repository
- 1 Watchers
- 0 Stars
- 159 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
Coverage Reporter
Prints out the code coverage and exits with an error if the code coverage is below the threshold., (*1)
The coverage is determined by a clover coverage report that can be generate by PHPUnit, just by adding the --coverage-clover option., (*2)
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., (*3)
-m 90 means the minimum code coverage must be 90%., (*4)
dev-master
9999999-dev
Print the total code coverage and exit with the right exit code
Sources
Download
MIT
The Requires
by
Berry Goudswaard
phpunit
ci
clover
0.0.1
0.0.1.0
Print the total code coverage and exit with the right exit code
Sources
Download
MIT
The Requires
by
Berry Goudswaard
phpunit
ci
clover