Hi @prasunaggarwalmsft ,
Please see our Community Guide on how to get Go coverage: [Coverage & Test Data] Generate Reports for Apex, C/C++, Objective-C, Go, JS/TS and Python
Once you have your coverage file, then use the sonar.go.coverage.reportPaths
analysis parameter and define the path to that coverage file. You can define this in sonar-project.properties
or at the sonar-scanner
command line.
See Test coverage overview for more information.
Joe