Versions Compared


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


  1. Prior to the SonarQube analysis, execute your unit tests:

    Code Block
    go test -json > report.json

    Note: -json flag is supported since go 1.10

  1. Import the report while running the SonarQube analysis by providing the paths of the unit test execution reports through the following properties. The paths may be absolute or relative to the project base directory.



    Project-widecomma-separated list of paths to unit test report files.