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

Clarify coverage reports in .NET

    XMLWordPrintable

    Details

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

      Description

      https://discuss.sonarsource.com/t/clarify-coverage-reports-in-net/5497

       

      It might be worth making it a bit more explicit in the Notes on importing .NET reports section of the documentation. Some possible suggestions:

      • Providing a link to the Community guide so users can gain additional context
      • Adding a short sentence before the steps to provide the main idea (example below)

      Proposed change:

      Notes on importing .NET reports

      To import .NET reports, the report generation process must be executed after the begin step and before the end MSBuild command. See below for the detailed steps:

      1.Run the SonarScanner.MSBuild.exe begin command, specifying the absolute path where the reports will be available using the /d:propertyKey=“path” syntax (“propertyKey” depends on the tool)
      2. Build your project using MSBuild
      3. Run your test tool, instructing it to produce a report at the same location specified earlier to the MSBuild SonarQube Runner (How to generate reports with different tools)
      4. Run the SonarScanner.MSBuild.exe end command

      You can also find more details in our Generate Reports for C#, VB.net Community post 1.

        Attachments

          Activity

            People

            Assignee:
            michael.birnstiehl Mike Birnstiehl
            Reporter:
            michael.birnstiehl Mike Birnstiehl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: