Code Coverage is Zero

I am using Sonar * Community Edition* Version 8.9.2 (build 46101) on Azure VM Integrated with Azure DevOps.
Sonar analysis is done but code coverage is showing Zero.
Can you please help on this.

Current properties on prepare analysis on sonar ** Azure DevOps pipeline
sonar.projectKey=GlobalEcommerce_email-ms
sonar.inclusions=
/src*

Hi,

How are you running analysis and how are you passing in your coverage report(s)?

 
Ann

Its resolved by adding Plugin in POM
Dependency:

junit junit 4.10 test

Plugin:

org.apache.maven.plugins maven-surefire-plugin 2.19.1 true

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.