Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-387

Support errors and unordered writes in CRUD spec tests

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Labels:
      None

      Description

      The CRUD spec test runner should support an "options" argument for bulkWrite and insertMany operations, which may be used to declare ordered=false for upcoming spec tests.

      Additionally, the test runner should be able to detect an error if error=true is included in the spec test's outcome. Depending on whether the operation was unordered, there may be a partial write result to assert.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jmikola Jeremy Mikola
              Reporter:
              jmikola Jeremy Mikola
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: