Uploaded image for project: 'SonarJava'
  1. SonarJava
  2. SONARJAVA-1250

Surefire Parser: do not try to read time attribute for skipped tests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5
    • Fix Version/s: 3.6
    • Component/s: Surefire
    • Labels:
      None

      Description

      The time attribute of a test must always be set in respect to the surefire report DTD.

      However, as it can happen that some tools generating surefire reports without this attribute and that we force this duration to 0 anyway we should not be looking for this attribute for skipped tests.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              massimo.paladin Massimo PALADIN
              Reporter:
              nicolas.peru Nicolas Peru
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: