Number of unit tests on sonar code-coverage?

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Sonarqube: 8.7.1

  • what are you trying to achieve
    where to find number of unit tests on sonar code-coverage?
    its never displayed…
    but the rest of metrics looks good… we get code-coverage percentage

  • what have you tried so far to achieve this

i have set this as well… and the folder existed.
sonar.junit.reportPaths=target/surefire-reports

Hi @indratan
thanks for this report.
Is your project a Java project or a Kotlin one?

Two things that you may do:

  • checking your analysis logs. You should find a “parsing <Your Configured Folder Name”> log at INFO level if the language sensor is finding your analysis parameter
  • trying with an absolute path for this analysis parameter

Let me know
Best regards
Sylvain

this is a java project

Great :slight_smile: