1.0.2 • Published 2 years ago

squerge v1.0.2

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

squerge

Utility npm package to merge multiple test execution reports for SonarQube.

npm npm Node.js CI codecov

Installation

To install the library in your project, use below command:

npm install squerge

Or install globally to use the cli:

npm install --global squerge

Usage

To use it from within code, use as below:

const {merge} = require('squerge');

merge(
    ['reports/*.spec.js.xml'],
    'reports/combined.xml'
).then(() => {
    // done saving to reports/combined.xml
}).catch((err) => {
    // failed for some reason
});

Or you can directly merge reports from command-line as below:

squerge -o reports/combined.xml "reports/*.spec.js.xml"

License

See the LICENSE file.

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago