babeuloula/phpunit-coverage-checker
最新稳定版本:v1.0.1
Composer 安装命令:
composer require babeuloula/phpunit-coverage-checker
包简介
PhpUnit coverage checker, fail if coverage goes below a threshold
README 文档
README
This script will read the XML coverage result and calculates the coverage score. Based on the given threshold the script will exit(0) if the coverage is higher than the threshold or exit(1) if the coverage is lower than the threshold.
Installation
composer require --dev babeuloula/phpunit-coverage-checker
Usage
vendor/bin/coverage-checker <path/to/coverage/index.xml> <threshold>
Example:
./vendor/bin/phpunit --coverage-xml ./coverage vendor/bin/coverage-checker coverage/xml/index.xml 80
Thanks
Thanks to richardregeer and cylab.be.
统计信息
- 总下载量: 1.84k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-07-12