承接 synida/clover-merge 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

synida/clover-merge

最新稳定版本:v2.0.4

Composer 安装命令:

composer require synida/clover-merge

包简介

Merge two or more clover XML files.

README 文档

README

This fork its updated to PHP8.0.

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.

Install

In your project root directory:

$ composer require kavinsky/clover-merge

Run

$ ./vendor/bin/clover-merge merge -o combined.xml input1.xml input2.xml
Files Discovered: 332
Final Coverage: 14534/14558 (99.84%)

Usage

usage: clover-merge 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.

统计信息

  • 总下载量: 15.79k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-15