Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-35672

unittest output from json_normalize-t is unclear

Details

    • Task
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • 11.8.1
    • Tests
    • None

    Description

      The results from running build/unittest/json_lib/json_normalize-t could be more clear.

      For example:

      ok 73 - normalize err?
      ok 74 - expected '{"foo":"value"}' from '{
        "foo": "value"
      }
      ' but was '{"foo":"value"}'
      

      There are two problems:

      1) the TAP context strings are worded such that they only make sense in the failure case, not the (far more likely) success case

      2) the input, expected, and actual results are not aligned to make it visiable at a glance if they match or not.

      Attachments

        Activity

          Transition Time In Source Status Execution Times
          Daniel Black made transition -
          Open Closed
          6h 41m 1

          People

            danblack Daniel Black
            Eric_Herman Eric Herman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.