Hi Amith, when you click on the “Sessions” link in the top right corner of the html report. What do you see here?
* Are your classes under test listed? * Do the class names have links? Regards, -marc > On 14. May 2020, at 14:06, Amith Patil <[email protected]> wrote: > > Hi Mandrikov, > > I was able to generate report. But when i copied the dump file "jacoco.exec" > from the docker container > and ran below command in my windows laptop against my project to generate > code coverage report: > > java -jar libs/jacococli.jar report jacoco.exec --classfiles > target/classes/com --sourcefiles src/main/java/ --html code-coverage-report > > I see the report for all the classes shows coverage as 0% which is not > correct. > > Please let me know what is wrong here? How can i generate the report using > dump file copied from docker container? > > Thanks in Advance. > > Thanks, > Amith > > On Monday, April 27, 2020 at 6:55:26 PM UTC+5:30, Evgeny Mandrikov wrote: > Similar questions were answered many times - please use search. > > For example: > https://groups.google.com/d/msg/jacoco/Jdgz90jw3ZY/YUAvvA7KBwAJ > <https://groups.google.com/d/msg/jacoco/Jdgz90jw3ZY/YUAvvA7KBwAJ> > On Monday, April 27, 2020 at 3:11:06 PM UTC+2, [email protected] > <javascript:> wrote: > Hi All, > > Im running jacocoagent.jar inside docker contanier by passing JAVA_OPTS > options. Everything is fine except for the part that im not able to generate > output file for execution data. I see the file getting generated but its > blank. Nothing is present in the file. > > Command: java > -javaagent:/appl/si/resources/jacocoagent.jar=append=true,output=file,destfile=/appl/si/resources/jacoco.exec > -jar linkage.jar > > This runs inside the docker container and i see the file "jacoco.exec" > getting generated but with size 0. > > Anybody knows what is wrong in the approach i have choosen? > > ls -lrt: > -rwxrwxrwx. 1 root root 281427 Apr 23 12:02 jacocoagent.jar > -rw-r--r--. 1 root 40002 0 Apr 27 12:50 jacoco.exec > > Please help! > > Thanks, > Amith > > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/17900960-92c2-499f-b8fc-7f6f7933b629%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/17900960-92c2-499f-b8fc-7f6f7933b629%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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/D8973FFD-6000-47B2-BF9C-31A3614A93A0%40mountainminds.com.
