Uploaded image for project: 'SonarCloud Community'
  1. SonarCloud Community
  2. SCCOMM-17

Change the severity of parsing errors of generic test execution reports

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Labels:
      None

      Description

      When a developer adds a new test with a filename not compliant to sonar.test.inclusions, the following error may cause the scanner to fail:

      ERROR: Error during parsing of generic test execution report '.....est-report.xml'. Look at the SonarQube documentation to know the expected XML format.
      ERROR: Caused by: Line 3 of report refers to a file which is not configured as a test file: /...../....test.tsx
      

      Such issues should not cause the scanner to fail. This should be a warning, not an error.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                janos.gyerik Janos Gyerik
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: