0.0.1 • Published 3 years ago

cobertura-repackage v0.0.1

Weekly downloads
42
License
ISC
Repository
github
Last release
3 years ago

Utility to add a prefix to the package names in a Cobertura coverage XML report.

Usage

Install through npm and use locally:

npm install cobertura-repackage
cobertura-repackage -i input.xml -o output.xml -p myPrefix

Or it can be used directly without installing through npx:

npx cobertura-merge -i input.xml -o output.xml -p myPrefix

Options

optiondescription
-i, --inputPath to the Cobertura XML coverage file to process
-o, --outputPath to the new/modified Cobertura XML coverage file (if a file already exists at this path, it will be overwritten)
-p, --prefixPackage name to prepend to all existing package names in the original coverage file (a period will be added between this and the existing package name(s))
--helpShow help
--versionShow version number