Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2366

Convert SDAM integration spec tests to the unified test format

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: SDAM
    • None
    • Needed
    • Hide

      Drivers will need to update their unified test format runner to support the new entities and operations required for these tests (schema version 1.10), update their SDAM integration test implementation to use the unified test format runner, and sync the JSON/YAML tests to https://github.com/mongodb/specifications/commit/b1a3fdd46a0c7797557215a0804a2c3b96b3be94. The old integration JSON/YML files from the integration directory can be removed.

      Note that drivers will also need to implement support for the changes made in the unified format's schema version 1.9, specifically the createEntities operation.

      Show
      Drivers will need to update their unified test format runner to support the new entities and operations required for these tests ( schema version 1.10 ), update their SDAM integration test implementation to use the unified test format runner, and sync the JSON/YAML tests to https://github.com/mongodb/specifications/commit/b1a3fdd46a0c7797557215a0804a2c3b96b3be94 . The old integration JSON/YML files from the integration directory can be removed. Note that drivers will also need to implement support for the changes made in the unified format's schema version 1.9, specifically the createEntities operation.
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4412 Backlog
      CXX-2533 Backlog
      CSHARP-4227 Fixed 2.20.0
      GODRIVER-2466 Backlog 2.1.0
      JAVA-4658 Fixed 4.8.0
      NODE-4325 Fixed 4.10.0
      MOTOR-985 Duplicate
      PYTHON-3312 Fixed 4.3
      PHPLIB-901 Won't Do
      RUBY-3033 Fixed 2.19.0
      RUST-1373 Fixed 2.4.0
      SWIFT-1589 Won't Do
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4412 Backlog CXX-2533 Backlog CSHARP-4227 Fixed 2.20.0 GODRIVER-2466 Backlog 2.1.0 JAVA-4658 Fixed 4.8.0 NODE-4325 Fixed 4.10.0 MOTOR-985 Duplicate PYTHON-3312 Fixed 4.3 PHPLIB-901 Won't Do RUBY-3033 Fixed 2.19.0 RUST-1373 Fixed 2.4.0 SWIFT-1589 Won't Do

      Summary

      The SDAM integration tests are currently written in the CRUD v2 / Transactions test format, which has been superseded by the unified test format. Converting the tests to the unified format will work towards allowing drivers to delete their v2 runners and also make writing new SDAM integration tests easier.

      Motivation

      Who is the affected end user?

      driver authors

      How does this affect the end user?

      see above

      Is this issue urgent?

      No

      Is this ticket required by a downstream team?

      No

      Is this ticket only for tests?

      Yes

            Assignee:
            patrick.freed@mongodb.com Patrick Freed
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: