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

Test code coverage monitoring using Coverall

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Later
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: it
    • Labels:
      None

      Description

      Oak has a coverage profile based on jacoco. This is currently not enabled by default. It would be good to have a CI profile with coverage enabled and collect the coverage data over time via Coverall. Coveralls.io offers a useful interface to review what are the crytical parts no covered in order to evaluate what tests write in order to rise up the coverage fastly and is free for open source projects.

      For Maven based project it can be done by coveralls-maven-plugin [2] and then we can add a nice badge for coverage!. The plugin requires a token key which can be encrypted for Travis [3]. Most likely for Apache Jenkins we can specify the key in build setup

      [1] https://coveralls.io/
      [2] https://github.com/trautonen/coveralls-maven-plugin
      [3] https://docs.travis-ci.com/user/encryption-keys/

        Attachments

          Activity

            People

            • Assignee:
              chetanm Chetan Mehrotra
              Reporter:
              chetanm Chetan Mehrotra
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: