# Can't get tests report

**URL:** <https://community.sonarsource.com/t/cant-get-tests-report/28042>\
**Category:** SonarQube Server / Community Build\
**Tags:** go\
**Created:** [July 13, 2020, 8:37pm UTC](https://community.sonarsource.com/t/cant-get-tests-report/28042 "2020-07-13T20:37:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Quentin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/quentin/32/74716_2.png) [@Quentin](https://community.sonarsource.com/u/Quentin)\
**Post date:** [July 15, 2020, 3:33pm UTC](https://community.sonarsource.com/t/cant-get-tests-report/28042/3 "2020-07-15T15:33:14Z")

</div>

Hello @nordicdyno,

I invite you to have a look there:

> [@Sonar scanner fails to load Go test results](https://community.sonarsource.com/t/sonar-scanner-fails-to-load-go-test-results/19671):
>
> SCM: [github.com](http://github.com) CI: travis Scanner: travis addon sonar scanner Language: go 1.13.x sonar-project.properties sonar.projectKey=my-project-key sonar.projectName=my-project-name sonar.exclusions=\*\*/\*\_test.go,\*\*/\*\_generated\*.go,\*\*/\*\_generated/\*\*,\*\*/vendor/\*\* sonar.test.inclusions=\*\*/\*\_test.go sonar.test.exclusions=\*\*/\*\_generated\*.go,\*\*/\*\_generated/\*\*,\*\*/vendor/\*\* sonar.go.tests.reportPaths=report.json sonar.go.coverage.reportPaths=coverage.out Snippet from .travis.yml - stage: sonar …

And there for a nice example of how someone configured his project.

> [@SonarGo code coverage 0%](https://community.sonarsource.com/t/sonargo-code-coverage-0/19473/9):
>
> For anyone else who may find it helpful, now that my build process is working, here is a simplified run down of my settings and build process: My first step is to run my tests and generate my a coverage report and test report: go test "./..." -coverprofile="coverage.out" -covermode=count -json \> report.json; I also added an optional step to generate a go linter report using this 3rd party cli golangci-lint run ./... --verbose --no-config --out-format checkstyle \> golangci-lint.out My sonar.…

Hope it will lead you in your researches.

Best,  
Quentin

---

_[View the full topic](https://community.sonarsource.com/t/cant-get-tests-report/28042)._
