[ 
https://issues.apache.org/jira/browse/SLING-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13623683#comment-13623683
 ] 

Bertrand Delacretaz commented on SLING-1803:
--------------------------------------------

With the JaCoCo servlet introduced in SLING-2810 we have a way of getting 
coverage data from a Sling instance via HTTP, so we can now get that after 
running integration and server-side tests.

JaCoCo's ant tasks provide a way to merge several data files [1] so we should 
now be able to get complete test coverage after a full Sling build that 
includes integration tests. 

[1] http://www.eclemma.org/jacoco/trunk/doc/ant.html#merge 
(looks like the Maven plugin doesn't have that feature, but worst case we can 
call the ant task from Maven)
                
> add coverage reporting of integration tests
> -------------------------------------------
>
>                 Key: SLING-1803
>                 URL: https://issues.apache.org/jira/browse/SLING-1803
>             Project: Sling
>          Issue Type: New Feature
>          Components: Launchpad
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>         Attachments: SLING-1803-1053340.patch
>
>
> I've tried both emma and clover. Looks like emma is the right choice as it is 
> a little more flexible in terms of breaking apart the instrumentation from 
> the test execution.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to