Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qtsolv/squerge
Utility npm package to merge multiple test execution reports for SonarQube.
https://github.com/qtsolv/squerge
combine cypress merge reporting sonarqube xml
Last synced: 1 day ago
JSON representation
Utility npm package to merge multiple test execution reports for SonarQube.
- Host: GitHub
- URL: https://github.com/qtsolv/squerge
- Owner: qtsolv
- License: mit
- Created: 2021-12-24T05:00:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-28T05:40:29.000Z (almost 3 years ago)
- Last Synced: 2024-11-09T14:50:31.609Z (5 days ago)
- Topics: combine, cypress, merge, reporting, sonarqube, xml
- Language: JavaScript
- Homepage: https://qtsolv.com/
- Size: 60.5 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# squerge
Utility [npm](https://www.npmjs.com/) package to merge multiple test execution reports for [SonarQube](https://www.sonarqube.org/).
[![npm](https://img.shields.io/npm/dm/squerge)](https://www.npmjs.com/package/squerge)
[![npm](https://img.shields.io/npm/v/squerge)](https://www.npmjs.com/package/squerge)
[![Node.js CI](https://github.com/qtsolv/squerge/actions/workflows/node.js.yml/badge.svg?branch=main)](https://github.com/qtsolv/squerge/actions/workflows/node.js.yml)
[![codecov](https://codecov.io/gh/qtsolv/squerge/branch/main/graph/badge.svg?token=W6OAHVJKPS)](https://codecov.io/gh/qtsolv/squerge)### Installation
To install the library in your project, use below command:
```shell
npm install squerge
```Or install globally to use the cli:
```shell
npm install --global squerge
```### Usage
To use it from within code, use as below:
```javascript
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:
```shell
squerge -o reports/combined.xml "reports/*.spec.js.xml"
```### License
See the [LICENSE](LICENSE) file.