Sonar report showing code smell in test classes in java project,
When i used below configuration so code smell in test classes in java project
<sonar.sources>src/main/java</sonar.sources>
<sonar.tests>src/test/java</sonar.tests>
<sonar.exclusions>/test/</sonar.exclusions>
<sonar.junit.reportsPath>target/surefire-reports/</sonar.junit.reportsPath>
But when i used below configuration so Unit test count shown “_”
<sonar.sources>src/main/java</sonar.sources>
<sonar.test.exclude>/test/</sonar.test.exclude>
<sonar.junit.reportsPath>target/surefire-reports/</sonar.junit.reportsPath>