Steve Sperber
asked on
Java Negative test cases not adding up to the ECLEmma java code coverage
When I run sonar code coverage for a set of integration test cases then the code coverage gives high value with positive and valid test cases.
After that I add few more negative test cases for same set of java classes and the code coverage drops drastically by 10 to 20%.
I checked the surefire-reports and logs but I am not sure what is going wrong and how is it impacting.
I want to understand mechanism of Sonar reads sure fire reports.
After that I add few more negative test cases for same set of java classes and the code coverage drops drastically by 10 to 20%.
I checked the surefire-reports and logs but I am not sure what is going wrong and how is it impacting.
I want to understand mechanism of Sonar reads sure fire reports.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
code coverage values are erratic and inconsistent.
I wanted to understand how the sonar reads sure fire reports for any test cases(positive and negative).
I wanted to understand how the sonar reads sure fire reports for any test cases(positive and negative).
ASKER
how does sure fire report is read by sonar. what is the mechanism.
Perhaps that gives idea about it.
Perhaps that gives idea about it.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
my step gives more detail and i donot take credit for it.
ASKER