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

Filter unit tests files listed in surefire reports

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8
    • Component/s: Coverage & Tests
    • Labels:
      None

      Description

      Surefire reports can list results of non-Java unit test files. It occurs for example when tests mix Groovy and Java files (see the project beanbuilder).

      The following warning is logged :
      Resource will be ignored in next Sonar versions, index is locked: <groovy file>

      The Surefire plugin should process only files which are indexed in sonar.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              simon.brandhof Simon Brandhof (Inactive)
              Reporter:
              simon.brandhof Simon Brandhof (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: