Java – test report EclEmma vs sonar

I am running EclEmma and measuring the test coverage in the project

Why are the results of the two tools different?

Solution

Out of the box, sonar supports Jacobo (embedded with the latest version of EclEmma) and cobertura engine, and is covered by unit test report code, just like EclEmma So usually they should output the same result My guess is that there is no correct configuration in your sonar configuration, and some tests are not running, so it would be good if you paste it so that we can have a look

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>