Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
sonarqube-9.3.0.51899 on Mac macOS Big Sur - what are you trying to achieve
Genrate junit code covarage - what have you tried so far to achieve this
Here is the properties file
sonar.projectKey=projectX
sonar.projectName=projectX
sonar.sourceEncoding=UTF-8
sonar.sources=projectX/projectXX/biz/src/main/java
sonar.login=477***
sonar.java.binaries=**/target/classes
sonar.tests=projectX/projectXX/biz/src/test/java
I run “sonar-scanner” in the project root directory and it generates the report but it shows 0% coverage and no unit test cases at all.
Thanks