Hi,

> On 2 Oct 2020, at 09:38, Stefan Seifert <[email protected]> wrote:
> 
> (Bertrand says) : Radu added a jacoco setup to the graphql-core last week 
> that aggregates both unit and integration tests coverage, seems to work well. 
> But I guess in some cases the pax exam tests run in a different process and 
> need a specific setup? 
> 
> Unify support for collecting coverage in the Sling Parent Pom, so that all 
> modules can benefit from the jacoco settings, making Sonarcloud reporting 
> work by default for all projects. Radu volunteered to update the Parent Pom.
> 

Here I’ve sent a PR to the Sling Parent project which was merged [0]. Starting 
with version 40 of the parent pom, Sling modules can take advantage of the 
JaCoCo configurations, which are now properly collecting the coverage reports. 
For IT, you need to pass the value of the jacoco.command system property to 
your forked JVM.

Thanks,
Radu

[0] - https://github.com/apache/sling-parent/pull/11

Reply via email to