@skodaflow/sonar-report-merger

1.0.2 • Public • Published

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.

Package Sidebar

Install

npm i @skodaflow/sonar-report-merger

Weekly Downloads

269

Version

1.0.2

License

SEE LICENSE IN eula.txt

Unpacked Size

11 kB

Total Files

13

Last publish

Collaborators

  • branislav.nemcik
  • olka
  • janpleva