d0x2f/clover-merge
Composer 安装命令:
composer create-project d0x2f/clover-merge
包简介
Merge two or more clover XML files.
README 文档
README
PHP utility to merge two or more clover files into a single document.
Intended to be used in a build pipeline to merge clover output from multiple testing frameworks.
I spent a weekend writing this so you don't have to.
Standalone
Install
Requires composer.
$ git clone https://github.com/d0x2f/CloverMerge.git $ composer install
Run
$ ./clover-merge -o combined.xml input1.xml input2.xml Files Discovered: 332 Final Coverage: 14534/14558 (99.84%)
As a Composer Dependency
Install
In your project root directory:
$ composer require d0x2f/clover-merge
Run
$ ./vendor/bin/clover-merge -o combined.xml input1.xml input2.xml Files Discovered: 332 Final Coverage: 14534/14558 (99.84%)
As a Docker Image
Install
$ docker pull d0x2f/clover-merge
Run
$ docker run --rm -v $(pwd):/build clover-merge -o /build/combined.xml /build/input1.xml /build/input2.xml
Files Discovered: 332
Final Coverage: 14534/14558 (99.84%)
Usage
usage: clover-merge [<options>] [<args>]
OPTIONS
--enforce, -e Exit with failure if final coverage is below the given
threshold
--help, -? Display this help.
--mode, -m merge mode: additive, exclusive or inclusive (default)
--output, -o output file path
ARGUMENTS
paths input file paths
Modes
- Additive - Lines must be present in the first input file for them to be included.
- Exclusive - Lines must be present in all input files for them to be included.
- Inclusive - Lines from all files are included.
d0x2f/clover-merge 适用场景与选型建议
d0x2f/clover-merge 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 127.64k 次下载、GitHub Stars 达 9, 最近一次更新时间为 2018 年 09 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 d0x2f/clover-merge 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 d0x2f/clover-merge 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 127.64k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 17
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-09-23