library php-coverage-checker
Automated code coverage percentage checking
michaelmoussa/php-coverage-checker
Automated code coverage percentage checking
- Wednesday, September 14, 2016
- by michaelmoussa
- Repository
- 2 Watchers
- 18 Stars
- 8,509 Installations
- PHP
- 2 Dependents
- 0 Suggesters
- 2 Forks
- 0 Open issues
- 3 Versions
- 18 % Grown
php-coverage-checker
php-coverage-checker is a library for automated code coverage percentage checking., (*1)
Initial commit is 100% the work of Ocramius: https://ocramius.github.io/blog/automated-code-coverage-check-for-github-pull-requests-with-travis/, (*2)
Installation
Composer!, (*3)
composer require --dev michaelmoussa/php-coverage-checker
, (*4)
Usage
- Generate XML Code Coverage using PHPUnit
- Run
vendor/bin/php-coverage-checker /path/to/clover.xml <minimum coverage percentage>
- e.g.
vendor/bin/php-coverage-checker build/clover.xml 100