SonarQube PHP
  1. SonarQube PHP
  2. SONARPHP-54

Duration of unit test seems to be wrong

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      1

      Description

      see the attached screenshot. In this example, I guess we should get 9.7 ms instead of 0.0097 ms ?

        Activity

        Hide
        Akram Ben Aissi added a comment -

        Unit tests duration computation was wrong.
        Nested test suites duration was counted twice.
        Generated xml to display unit tests execution was wrong, time was not multiplied by a 1000 factor to get milliseconds.

        Show
        Akram Ben Aissi added a comment - Unit tests duration computation was wrong. Nested test suites duration was counted twice. Generated xml to display unit tests execution was wrong, time was not multiplied by a 1000 factor to get milliseconds.

          People

          • Assignee:
            Akram Ben Aissi
            Reporter:
            Anonymous
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: