Usage

Run an Analysis with the SonarQube Runner (Recommended Way)

A sample project is available on GitHub that can be browsed or downloaded: /projects/languages/javascript/javascript-sonar-runner.

Run an Analysis with the other Analyzers

Maven and Ant can also be used to launch analysis on JavaScript projects.

Unit Tests and Code Coverage Reports

SonarQube can read and import:

Unit test execution report: JsTest or JsTestDriver format

Code coverage report: lcov format

A sample project can be browsed or downloaded: this is a JavaScript project analyzed with the SonarQube Runner reusing unit tests and code coverage reports generated with JsTestDriver. It is located in /projects/languages/javascript/javascript-sonar-runner-JsTestDriver.