Uploaded image for project: 'ui-eholdings'
  1. ui-eholdings
  2. UIEH-400

Eliminate false positives from the mod-kb-ebsco test suite

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Won't Do
    • None
    • 1.3.0

    Description

      We record our mod-kb-ebsco test suite against a live connection to rmapi. The problem is that the fixture payloads that we send are often not representative of the actual payloads that we receive from the javascript client. So, for example, on a `PUT` request, we post a partial payload containing just the fields that are updated and it works. However, in real life, the client (RESTfully) includes all of the updated fields, not just those that changed. `mod-kb-ebsco` passes those fields through to `rmapi` which complains about the read-only fields being in the PUT request.

      But because the payload in our test cases do not accurately reflect the payloads we receive in real life, we get a pass when we ought to have gotten a fail. We need to address this quickly because IMHO, no test is almost better than a bad test. False positives gives rise to false confidence.

      TestRail: Results

        Attachments

          Activity

            People

              Unassigned Unassigned
              cowboyd Charles Lowell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases