Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9509

Enable minimum line and branch test coverage for oak-jcr

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.42.0
    • jcr

    Description

      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:

          <skip.coverage>false</skip.coverage>
          <minimum.coverage>0.72</minimum.coverage>
          <minimum.branch.coverage>0.60</minimum.branch.coverage>
      

      Attachments

        Activity

          People

            angela Angela Schreiber
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: