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

Exclusion from static analysis also suppresses Surefire (JUnit) test results.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.10.1
    • Fix Version/s: 1.12
    • Component/s: Exclusions/Inclusions
    • Labels:
      None
    • Environment:
      Windows XP

      Description

      After upgrading to Sonar 1.10.1 the behaviour of exclusions has changed regarding Surefire (JUnit) test results.

      Expected: Excluding a package from static analysis does not affect Surefire (JUnit) test results. This worked fine (as expected) prior to Sonar version 1.10.

      Actual with Sonar version 1.10.1: Exclusion from static analysis also suppresses Surefire (JUnit) test results. The logfile shows that the Surefire (JUnit) tests inside the excluded package(s) are executed, but the results are not displayed in the Sonar JUnit drilldown viewer.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ogaudin Olivier Gaudin
              Reporter:
              groundhog Christian Schima
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: