Hi, To speedup understanding of your issue, please provide minimalistic, compilable and easily runnable example demonstrating your issue. Otherwise, not being a daily user of spring, cost to build something similar to your setup is pretty high and without guarantees to see the exact same behavior as you experience.
On Friday, June 23, 2017 at 10:41:03 AM UTC+2, [email protected] wrote: > > Hi, > For example, I have three classes, ClassA, ClassB, ClassC. And these > classes in the same package. ClassB and ClassC is used by ClassA though > spring injection. > First config the jacoco in tomcat: > [export > CATALINA_OPTS="-javaagent:/javacoverage/jacoco/lib/jacocoagent.jar=includes=com.**.*,output=tcpserver,port=8081,address=10.2.60.247"]. > Second, run the test case and get the jacoco.exec. > Third, get the Report with jacoco.exec and sourceCode. > Then, I found a strange result. It only have coverage data for the > ClassA, however the coverage data for ClassB and ClassC are 0%. > Until now, I could't find out waht's going on. Would you like to help me > solve this problem? > > Thanks > -- 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/bdd5837b-395c-4dd4-9e02-0be55bd7ad26%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
