I read about issue #195 and #97 but both of these haven't been merged in the master (closed and pull not accepted).
So I deduced that it is always not possible to have Itests covered lines for submodules?
For example, let's have a project made with two modules, my.biz and my.data: my.biz having my.data as dependency.
It's allgood for me that test coverage on my.biz covers only classes from the my.biz module, but for INTEGRATION tests, coverage on my.biz should covers classes from my.biz AND my.data (all solutions I tried from now ended with only my.biz covered classes report).
Is it possible to do this? How? Have you got a pointer?
Thank you in advance.
Regards,
I am also struggling with this issue of code-coverage across multiple maven subprojects.
Seems like you have a thorough understanding of this frustrating stuff :)
In the top answer to this thread:
stackoverflow.com/questions/13031219/how-to-configure-multi-module-maven-sonar-jacoco-to-give-merged-coverage-rep
mpontes shows a solution.
I tried it on my own project, but sonarQube actually reports LOWER overall code-coverage
than with normal module-by-module unit-test coverage,
so I guess it's not entirely correct?
Can you confirm that it is an incorrect solution?
Still, I wonder if it would be possible to fix it...
is it a possible solution, "to apply the integration tests logic to regular unit tests"
as he puts it?
BR,
So now it seems to me, his solution actually works -- nice trick :)
On Sunday, June 8, 2014 3:34:22 AM UTC+2, rop...@gmail.com wrote:
> Hi Marc,
>
> I am also struggling with this issue of code-coverage across multiple maven subprojects.
> Seems like you have a thorough understanding of this frustrating stuff :)
>
> In the top answer to this thread:
> stackoverflow.com/questions/13031219/how-to-configure-multi-module-maven-sonar-jacoco-to-give-merged-coverage-rep
> mpontes shows a solution.
>
> I tried it on my own project, but sonarQube actually reports LOWER overall code-coverage
> than with normal module-by-module unit-test coverage,
> so I guess it's not entirely correct?
>
> Can you confirm that it is an incorrect solution?
>
> Still, I wonder if it would be possible to fix it...
> is it a possible solution, "to apply the integration tests logic to regular unit tests"
> as he puts it?
>
> BR,
>
>
> On Monday, May 19, 2014 10:04:51 PM UTC+2, Marc R. Hoffmann wrote:
--
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/-VCbA69Rlhs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jacoco+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.