Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Code Coverage

...

If you want to To display code coverage data, prior :

  1. Prior to the SonarQube analysis execute your unit tests and generate the Cobertura report.
  2. Import this report while running the SonarQube analysis by setting

...

  1. the sonar.

...

  1. flex.cobertura.reportPath property to the path

...

  1. to the Cobertura XML report. The path may be absolute or relative to the project base directory

...

  1. .

...

A sample project is available on github that can be browsed or downloaded/projects/languages/flex/flex-sonar-runner-coverage.

...

To navigate the AST, download the SSLR Flex Toolkit.

Release Notes

Version 2.0

It is no longer possible to:

  • let SonarQube drive the execution of unit tests
  • import unit test execution reports