Hi Please find my answers below.
On 6 June 2015 at 17:08, Evgeny Mandrikov <[email protected]> wrote: > Hi Shantanoo, > > Some questions in order to help you investigate the issue: > > - Are those packages located in the same module? > > [Shantanoo] Yes > > - > - Could you provide some screenshots demonstrating problem? > > [Shantanoo] Which screen shots are you interested in? the report page > > - Do you confirm that classes from those packages are available in > "target/classes" directory, when "jacoco:report" is executed? > > [Shantanoo] Yes > Best regards, > Evgeny Mandrikov > > On Thursday, June 4, 2015 at 5:59:57 PM UTC+2, shantanookirtane@... wrote: >> >> Below is my maven configuration. >> >> <plugin> >> >> <groupId>org.apache.maven.plugins</groupId> >> >> <artifactId>maven-surefire-plugin</artifactId> >> <version>2.18</version> >> <configuration> >> <!-- Sets the VM argument line used when >> unit tests are run. --> >> <argLine>-Xms512m -Xmx1024m >> -XX:MaxPermSize=512m ${jacoco.agent.argLine}</argLine> >> </configuration> >> </plugin> >> <plugin> >> <groupId>org.jacoco</groupId> >> <artifactId>jacoco-maven-plugin</artifactId> >> >> <version>0.7.5.201505241946</version> >> <configuration> >> >> <dataFile>target/jacoco.exec</dataFile> >> </configuration> >> <executions> >> <execution> >> <id>pre-unit-test</id> >> <goals> >> <goal>prepare-agent</goal> >> </goals> >> <configuration> >> >> <propertyName>jacoco.agent.argLine</propertyName> >> >> <destFile>target/jacoco.exec</destFile> >> </configuration> >> </execution> >> <execution> >> <id>default-report</id> >> <phase>test</phase> >> <goals> >> <goal>report</goal> >> </goals> >> </execution> >> </executions> >> </plugin> >> >> >> >> When I run using maven >> >> i.e. clean test >> >> after this it creates the jacoco.exec file then I run >> >> jacoco:report and it generates the resport but for except one package for >> all other it shows 0% code coverage which is not the case. when I run the >> same report using cobertura it shows non 0% code coverage for those >> packages. >> >> Any Idea what is wrong here. >> >> Thanks >> Shantanoo K > > -- Thanks & Regards, Shantanoo Kirtane -- 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/CAJ%2BRX%2B878kVYXsQSgx28O5iHdFXNZAcKywnOD6H6%2Brw-Y_8hrA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
