squerge

1.0.2 • Public • Published

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.

Package Sidebar

Install

npm i squerge

Weekly Downloads

196

Version

1.0.2

License

none

Unpacked Size

10 kB

Total Files

14

Last publish

Collaborators

  • vpzqtsolv