nordicdyno
(Alexander Orlovsky)
1
I’ve got errors on test report like:
WARN: Failed to find test file for package internal/csvreader and test TestRead/FieldCRCRLFCR
nordicdyno
(Alexander Orlovsky)
2
sonar.properties:
sonar.sources=.
sonar.exclusions=**/*_test.go,**/*_generated*.go,**/*_generated/**,**/vendor/**
sonar.tests=.
sonar.test.inclusions=**/*_test.go
sonar.test.exclusions=**/*_generated*.go,**/*_generated/**,**/vendor/**
sonar.go.tests.reportPaths= artifacts/units.json.sonar
sonar.go.coverage.reportPaths=artifacts/report.cover
Quentin
(Quentin Jaquier)
3
Hello @nordicdyno,
I invite you to have a look there:
And there for a nice example of how someone configured his project.
Hope it will lead you in your researches.
Best,
Quentin