Derby
  1. Derby
  2. DERBY-88

RunSuite summary rounds incorrectly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.0.2.1
    • Fix Version/s: 10.2.1.6
    • Component/s: Test
    • Labels:
      None

      Description

      Example output from RunSuite in the report file

      203 Tests Run
      100% Pass (202 tests passed)
      0% Fail (1 tests failed)

      A single failure should not lead to 0% fail and 100% pass.
      Should round down on pass percentage and round up on fail percentage.

        Activity

        Hide
        Andrew McIntyre added a comment -

        Use Math.ceil and Math.floor to correctly round pass/fail statistic in RunSuite. Committed with revision 126267.

        Show
        Andrew McIntyre added a comment - Use Math.ceil and Math.floor to correctly round pass/fail statistic in RunSuite. Committed with revision 126267.
        Hide
        John Sisson added a comment -

        FYI.. This problem still appears to be occuring on the 10.1 branch (svn ver 201931).

        Show
        John Sisson added a comment - FYI.. This problem still appears to be occuring on the 10.1 branch (svn ver 201931).
        Hide
        Andrew McIntyre added a comment -

        Committed revision 375845.

        Show
        Andrew McIntyre added a comment - Committed revision 375845.

          People

          • Assignee:
            Andrew McIntyre
            Reporter:
            Daniel John Debrunner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development