Utility to merge multiple cobertura xml files into one.
Got inspired by cobertura-merge, intention on replacing the node-gyp usage.
It can be installed through npm
and used locally:
npm install merge-cobertura
merge-cobertura -o output.xml package1=input1.xml package2=input2.xml
Or it can be used directly without installing through npx
:
npx merge-cobertura -o output.xml package1=input1.xml package2=input2.xml
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 |