Package detail

cobertura-merge-globby

andreaswachs1.3kMIT1.0.5

Merges cobertura XML files

readme

THIS IS A FORK

The original work has been done by Borre Mosch.

I desperately needed the ability to get converages files from a file glob pattern and I have implemented this in a fork, which is currently not merged into the main cobertura-merge tool.

Use this package at your own will.

Usage

It can be installed through npm and used locally:

npm install cobertura-merge
cobertura-merge -o output.xml --files=**/*_coverage.xml

Or it can be used directly without installing through npx:

npx cobertura-merge -o output.xml --files=**/*_coverage.xml

Options

option description
-o FILE Outputs the generated xml to the specified file
-p, --print Prints a summary of the code coverage to the standard output