Hi,
We are doing daily code coverage in our tomcat based project, using "-javaagent:/var/lib_jacoco/jacocoagent.jar=destfile=/var/jacoco.exec,append=true,dumponexit=true,output=file" as option. Below are details:-
I have A.java, in version 1.0, it have 10 lines and during 1st round of testing I covered line number 6,7 and 8. When I generated the coverage report it shows perfect results .
But when I received new build of A.java as version 1.1, it got added 5 more lines and during 2nd round of testing I covered line number 11,12 and 13.
When I generated the coverage report using latest exec,class and java of version 1.1, it shows only line number 11,12 and 13, as covered.
But When I generated the coverage report using latest exec,old class and old java of version 1.0, it shows only line number 6,7 and 8, as covered.
But I want when generate the coverage report using latest exec,class and java of version 1.1, it shows both iteration coverage, means it must show line number 6,7,8,11,12 and 13, as covered.
is this possible?
Thanks
Abhishek