Uploaded image for project: 'SonarPHP'
  1. SonarPHP
  2. SONARPHP-686

Fix skipped tests import

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10
    • Component/s: Metrics, Plugin, Unit Tests
    • Labels:
      None

      Description

      The php unit test result import logic in SonarPHP expects to get skipped tests reported as :

      <testcase ....>
        <status>skipped</status>
      </testcase>
      

      While currently (phpunit 6.0.7), phpunit is returning (see this doc):

       
      <testcase ....>
        <skipped />
      </testcase>
      

      One wonders why no one ever complained.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              carlo.bottiglieri Carlo Bottiglieri (Inactive)
              Reporter:
              carlo.bottiglieri Carlo Bottiglieri (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: