[
https://issues.apache.org/jira/browse/SLING-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bertrand Delacretaz resolved SLING-4760.
----------------------------------------
Resolution: Fixed
Implemented in http://svn.apache.org/r1682257 - with this, {{mvn clean install
-P jacoco-report}} provides up to 3 coverage reports:
* target/site/jacoco-unit: unit tests coverage
* target/site/jacoco-it: integration tests coverage
* target/site/jacoco-merged: aggregate test coverage
The jacoco-it report is absent if there are no integration tests.
This is in the 23-SNAPSHOT parent pom, so to use it for now you'll need to set
that version in your module's pom, and {{mvn clean install}} that parent pom.
> jacoco-report Maven profile should aggregate unit and integration tests
> -----------------------------------------------------------------------
>
> Key: SLING-4760
> URL: https://issues.apache.org/jira/browse/SLING-4760
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
> Fix For: Parent 23
>
>
> The {{jacoco-report}} profile defined in our parent pom should aggregate unit
> and integration tests of a given module so that we can get the full test
> coverage picture.
> This won't take into account the launchpad integration tests, but I think
> over time we should move (at least most of) those tests to the relevant
> modules anyway.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)