Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1438

Update Python 4.x Test Suite/Framework

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Critical
    • 4.1.2
    • None
    • None
    • None
    • 3
    • SDK06

    Description

      The build pipeline is blocked due to issues with the test suite. My hunch is that it has to do with creating a connection/cluster per test group (collections, subdoc, query, etc.). This ticket is to restructure the tests to the following:

      • Have a global connection/cluster
        • The structure should ideally pave groundwork for running tests in parallel (pytest-xdist)
      • Better outline tests that need to be run for a particular function (collections, subdoc, query, etc.)
        • Create test manifest so it is easy to see which tests are meant to be executed
        • Can also create skip-list which should provide clear reason for a test being skip (for instance w/ when implementing future protocols certain functionality might not be available until a later time)
      • Possibly create tool that can convert the main couchbase API tests to acouchbase and txcouchbase API tests.
        • Nice to have, not necessarily needed for completion of ticket, can create other tickets for acouchbase and txcouchbase. This would be ideal to make sure we have consistent testing across all APIs.

      Attachments

        For Gerrit Dashboard: PYCBC-1438
        # Subject Branch Project Status CR V

        Activity

          People

            jared.casey Jared Casey
            jared.casey Jared Casey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty