codebtech/coveragebadge
最新稳定版本:v0.3.7
Composer 安装命令:
composer require codebtech/coveragebadge
包简介
Creates code coverage badge from Clover XML files.
README 文档
README
CoverageBadge is a PHP library for creating SVG coverage badges from Clover XML files.
Installation
composer require codebtech/coveragebadge --dev
Features
- Produces a code coverage badge utilizing a Clover coverage XML file
- Creates a code coverage badge from several Clover XML files, automatically incorporating the coverage percentages
- Accepts a coverage name as an input to include in the generated badge
Usage
- Execute the command to generate badge for single Clover XML input
vendor/bin/coverage-badge /path/to/clover.xml /path/to/badge/destination.svg test-name
- To blend multiple Clover files, enumerate the XML inputs separated by commas and use the command
vendor/bin/coverage-badge /path/to/clover.xml,/path/to/clover2.xml /path/to/badge/destination.svg test-name
Acknowledgements
This library is inspired by JASchilz/PHPCoverageBadge
统计信息
- 总下载量: 23.51k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-30