@skodaflow/sonar-report-merger
v1.0.2
Published
> This module is used for merge sonar XML reports to one file. Espacially usefull in combination with @skodaflow/cypress-execution-sonar-reporter
Downloads
2,062
Readme
sonar-report-merger
This module is used for merge sonar XML reports to one file. Espacially usefull in combination with @skodaflow/cypress-execution-sonar-reporter
Installation
You need to have access to registry
npm install --save-dev @skodaflow/sonar-report-merger
Usage
package.json
{
...
"scripts": {
"test-report-merge": "srm cypress/results/TEST-web-library.sonar.xml \"cypress/results/*.sonar.xml\""
}
...
}
npm run test-report-merge
This command will process all files with postfix sonar.xml and merge it to one sonar test executions file. This file is later usefull as input for Sonar analyzer to report test results in SonarQube. Ordinary is this command useful in CI pipelines where SQ analyzer is enabled.