Currently my team is using SonarQube developer edition version 9.3.
In Analysis Scope we added test file inclusion (sonar.test.inclusions). We have also added XML coverage report (sonar.python.coverage.reportPaths). The code and the tests are written in python. In Overall Code tab the coverage of our code looks good except the number of Unit Test is presented as ‘-‘ (screenshot attached). Should we do anything else to get the number of tests displayed correctly?
I have specified sonar.python.xunit.reportPath as you suggested. I also had to set sonar.python.xunit.skipDetails=true and it worked (screenshot attached).
Instead of reviving an old thread, please create a new thread and give all the details (SonarQube version, analysis parameters used, CI configuration, what the logs say…)