You can generate exec files with different names and specify "dataFileIncludes" for "report-aggregate" ( http://eclemma.org/jacoco/trunk/doc/report-aggregate-mojo.html#dataFileIncludes ) to include only exec file generated by integration tests.
Moreover - by default "prepare-agent" will generate "jacoco.exec" ( http://eclemma.org/jacoco/trunk/doc/prepare-agent-mojo.html#destFile ), while "prepare-agent-integration" will generate "jacoco-it.exec" ( http://eclemma.org/jacoco/trunk/doc/prepare-agent-integration-mojo.html#destFile ), so that you can specify "*-it.exec" as "dataFileIncludes". On Wed, Jun 8, 2016 at 2:55 PM Thanuku Krishna Chaitanya < [email protected]> wrote: > I just tried integrating jacoco 0.7.7 version and I observed a problem. > > I have 20 modules out of which 19 modules contain junit test cases and one > module is for the integration tests. > > I added report-aggregate to the integration pom and it is generating a > report which contains the unit test reports as well. So now I do not know > how much of code is covered by my integration tests. > > Can anyone suggest? > > -- > You received this message because you are subscribed to a topic in the > Google Groups "JaCoCo and EclEmma Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jacoco/wzEvbkrR-Aw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/220e05c7-c90c-44e0-8adc-fdf01e09d3c5%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAEPFu68r%3DdXatOYDyiktOdmHcCwXoiEQ50zKSUTk%2BY7Qj3g7WQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
