1.0.3 • Published 11 months ago

@yartasdev/cobertura-collect v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Collect Cobertura

NPM Type Definitions NPM Version npm bundle size NPM License

Collect cobertura coverages from specific directories and create a summary file

Story

Inspired by cobertura-merge{:target="_blank"}, i aimed to replace the use of node-gyp and collect cobertura coverages from specific folders with FastGlob{:target="_blank"}.

Usage

It can be install globally and run

npm install @yartasdev/collect-cobertura -g
@yartasdev/cobertura-collect -p -o cobertura-output.xml -t /coverage/**/cobertura-coverage.xml

Or it can be used directly without install

npx @yartasdev/cobertura-collect -p -o cobertura-output.xml -t /coverage/**/cobertura-coverage.xml

Options

OptionDescription
-o, --output FILEOutput file name with extension e.g. /coverage/cobertura.xml
-t, --target DIRECTORYTarget files path /coverage/**/cobertura.xml
-p, --printPrints a summary of the code coverage to the standard output
1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago