Merges cobertura XML files
npm install cobertura-merge-globbyThe 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.
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
| 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 |