Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-419

Allow generating full coverage results with Jacoco and Sonar

    Details

    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The strategy is the following:

      • Have a jenkins job that will execute: mvn clean install -Pcoverage. This will run unit tests and aggregate all test results in a global coverage file that Sonar will use to display IT coverage
      • Configure that Jenkins job with a post build step to run Sonar. This will run the unit tests and allow to also display unit test coverage in Sonar.

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: