I have a project in go lang, I can run tests and sonar can identify the total percentage of test coverage. But I want to know if I can generate any metrics in this coverage.out
file that can show how many tests were run so that sonar can display this information.
I'm running the command go test -cover -coverprofile=coverage.out ./...
and it's generating the file for me with just the percentage of each test, but I need to know how to generate a metric of how many tests were run in total so that sonar is able to show this information.