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

Tests should run against mock by default

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.5
    • library
    • None
    • 1

    Description

      In order to improve the experience of new developers to the various SDK projects, the SDK should be capable of automatically invoking the majority of its tests without undue effort by a new developer.  Towards this goal, all SDKs should implement logic to implicitly fetch a recent version of CouchbaseMock, and invoke it internally for running tests against whenever no local server is available.  The C SDK generally reflects best practices on how to implement this, with Go and Node.js serving as good secondary sources.

      Attachments

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

        Activity

          Ellis.Breen Ellis Breen added a comment -

          The fetching is already done by the PYCBC test suite, and mock testing is on by default in tests.ini.sample. However, real-server testing is also on by default, so I can update the tests.ini.sample to turn this off by default.

          Ellis.Breen Ellis Breen added a comment - The fetching is already done by the PYCBC test suite, and mock testing is on by default in tests.ini.sample. However, real-server testing is also on by default, so I can update the tests.ini.sample to turn this off by default.

          People

            Ellis.Breen Ellis Breen
            brett19 Brett Lawson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty