Sonar-scanner not able to check for coverage

(durgesh) #1

when i run scanner the dash board shows 0% coverage, though i have test cases written, it only shows the error in my code ???

(G Ann Campbell) #2


We’ll need a lot more detail before we can offer you any help. For a start, what language(s) and coverage engine are we talking about? How are you trying to pass in your coverage report?


(durgesh) #3

Java using gradle build, and junit as unit testing, figure out most my problem, can you help me with coverage concept, dashboard shows unit test result but not coverage, for coverage do we need to add some plugin

(G Ann Campbell) #4

Okay, that’s a good start. Now,