Package Exports
- lcov-result-merger
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (lcov-result-merger) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
LCOV Result Merger
When you have multiple test suites for the same application you still want to have the code coverage across all testsuites.
This tool will handle this for you.
Usage
./node_modules/.bin/lcov-result-merger 'FILE_PATTERN' ['OUTPUT_FILE']
Examples
Use stdout
- Generate LCOV Code Coverage into different files, e.g.
build/coverage/coverage_X.log
- Run
./node_modules/.bin/lcov-result-merger 'build/coverage/coverage_*.log'
- Use the stdout to pipe it to e.g. Coveralls
- Done.
Use merged output file
- Generate LCOV Code Coverage into different files, e.g.
build/coverage/coverage_X.log
- Run
./node_modules/.bin/lcov-result-merger 'build/coverage/coverage_*.log' 'target/coverage/coverage_merged.log'
- Done. Enjoy your merged file.