Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-16154

Fix incorrect explanation about VS xml coverage file format for CFamily

    XMLWordPrintable

    Details

    • Type: Documentation
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.4
    • Component/s: None
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      The coverage documentation statesĀ 
      `sonar.cfamily.vscoveragexml.reportsPath`|Path may be absolute or relative to the solution directory. Path wildcards (see above) are supported. Note that the `.coveragexml` report format offered by Visual Studio is not supported.

      This is incorrect. The unsupported format is `.coverage`. This format can be converted into the supported `.coveragexml` with the MS tool CodeCoverage.exe as seen in
      https://community.sonarsource.com/t/ms-coverage-coveragexml/21494

      Also note that this is only for CFamily coverage. The same coverage format is documented in the .NET section without mentioning .vscoverage or .vscoveragexml

        Attachments

          Activity

            People

            Assignee:
            pierre.guillot Pierre Guillot
            Reporter:
            geoffray.adde Geoffray Adde
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: