dannecron/coverage-merger

Merge coverage files into one

0.2.0 2023-10-10 04:31 UTC

This package is auto-updated.

Last update: 2024-10-26 05:47:58 UTC


README

Library/tool to merge two or more coverage files into single one.

Supported formats:

  • clover
  • junit (todo)

Install

Available as composer-package on packagist and as docker-image on docker-hub.

As global composer dependency

composer global require dannecron/coverage-merger

As local composer dev-dependency

composer require --dev dannecron/coverage-merger

As docker-container

docker pull dannecron/coverage-merger:latest

Usage

It's cli-app with single access point:

# if installed globally
$COMPOSER_HOME/vendor/bin/merger
# if installed locally
./vendor/bin/merger
# if pulled from docker hub
docker run --rm dannecron/coverage-merger:latest
clover-merger, version 1.0.0

Commands:
*
  clover    Merge clover coverage files into single one

Run `<command> --help` for specific help

Additional info

Clover merge logic based on d0x2f/CloverMerge.