squerge
v1.0.2
Published
Utility npm package to merge multiple test execution reports for SonarQube.
Downloads
28
Maintainers
Readme
squerge
Utility npm package to merge multiple test execution reports for SonarQube.
Installation
To install the library in your project, use below command:
npm install squergeOr install globally to use the cli:
npm install --global squergeUsage
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.
