Hi Abhishek,
unfortunatelly it is not possible to merge coverage data of different
versions of classes.
Regards,
-marc
On 2015-09-05 20:46, [email protected] wrote:
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
--
You received this message because you are subscribed to the Google Groups "JaCoCo
and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/fcce59fcdaa3c6a0adbdcba50706c020%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.