teqnomaze/code-coverage
最新稳定版本:v1.1.0
Composer 安装命令:
composer require teqnomaze/code-coverage
包简介
Check for the code coverage using the clover report of phpunit.
关键字:
README 文档
README
A composer package for checking code coverage score in percentage using the clover.xml report of phpunit.
Installation
This can be installed using Composer.
composer require teqnomaze/code-coverage --dev
Usage
Run the coverage check script which accepts 2 parameters to return coverage result.
- The location of
clover.xmlfile, that's generated by phpunit. - The coverage threshold percentage that's acceptable (Min = 1, Max = 100). Default is 80
vendor/bin/code-coverage ./build/clover.xml 90
Changelog
1.1.0
- Added getters and setters
- Added color styling for the output
1.0.0
- Created initial version.
License
This project is licensed under the MIT License. See LICENSE for more information.
统计信息
- 总下载量: 1.01k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-04-27