Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sjinks/mocha-reporter-sonarqube

Mocha reporter for SonarQube / SonarCloud
https://github.com/sjinks/mocha-reporter-sonarqube

mocha mocha-reporter sonarqube sonarqube-reports

Last synced: about 1 month ago
JSON representation

Mocha reporter for SonarQube / SonarCloud

Awesome Lists containing this project

README

        

# mocha-reporter-sonarqube

Mocha reporter for SonarQube / SonarCloud

See https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/test-coverage/generic-test-data/#generic-test-execution for details.

## Installation

```bash
npm i -D mocha-reporter-sonarqube
```

## Usage

```bash
mocha -R mocha-reporter-sonarqube -O filename=report.xml
```

if the `filename` option is not specified, the report will be written to `process.stdout`.