Uploaded image for project: 'SonarPython'
  1. SonarPython
  2. SONARPY-178

Deprecate IT coverage and accept many coverage reports

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.12
    • Component/s: Plugin
    • Labels:
      None

      Description

      Since SonarQube 6.2, the concept of coverage type (unit/IT/overall) was dropped. Instead a Sensor can save multiple coverage reports (with no specific type) per file.
      As a result, SonarPython should be updated and:

      • log a warning when property sonar.python.coverage.itReportPath is used and ignore it
      • deprecate sonar.python.coverage.reportPath, log a warning and introduce sonar.python.coverage.reportPaths to accept a comma separated list of coverage reports

      When running a recent version of SQ 7.x where reporting of WARNings in the UI is possible, we should do it.

      Since SonarQube 6.2 is old, 6.7 LTS was release 12+ months ago and that SonarPython 1.12 will be only compatible with SQ 6.7+, we should apply the previously listed behaviours whatever the version of SonarQube.

      Documentation must be updated to add sonar.python.coverage.reportPaths and deprecate sonar.python.coverage.reportPath.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                christophe.zurn Christophe Zurn
                Reporter:
                julien.henry Julien Henry
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: