You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Angela Schreiber (Jira)" <ji...@apache.org> on 2021/07/22 15:08:00 UTC

[jira] [Updated] (OAK-9509) Enable minimum line and branch test coverage for oak-jcr

     [ https://issues.apache.org/jira/browse/OAK-9509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Angela Schreiber updated OAK-9509:
----------------------------------
    Labels: technical_debt  (was: )

> Enable minimum line and branch test coverage for oak-jcr
> --------------------------------------------------------
>
>                 Key: OAK-9509
>                 URL: https://issues.apache.org/jira/browse/OAK-9509
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: jcr
>            Reporter: Angela Schreiber
>            Assignee: Angela Schreiber
>            Priority: Minor
>              Labels: technical_debt
>             Fix For: 1.42.0
>
>
> today _jacoco-maven-plugin_ is skipped in _oak-jcr_ and thus doesn't record line/branch coverage. i would suggest to enable it by default. as of now line coverage is 72%, branch coverage is 60%.
> [~mreutegg], unless you have any concerns i would go ahead and add the 2 properties to the pom.xml:
> {code}
>     <skip.coverage>false</skip.coverage>
>     <minimum.coverage>0.72</minimum.coverage>
>     <minimum.branch.coverage>0.60</minimum.branch.coverage>
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)