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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          brett19 Brett Lawson created issue -
          brett19 Brett Lawson made changes -
          Field Original Value New Value
          Link This issue relates to CBD-2779 [ CBD-2779 ]
          brett19 Brett Lawson made changes -
          Component/s library [ 10118 ]
          Component/s library [ 11912 ]
          Key GOCBC-445 PYCBC-572
          Project Couchbase Go SDK [ 11152 ] Couchbase Python Client Library [ 10050 ]
          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.
          Ellis.Breen Ellis Breen made changes -
          Status New [ 10003 ] Open [ 1 ]
          Ellis.Breen Ellis Breen made changes -
          Fix Version/s 2.5.5 [ 16001 ]
          Ellis.Breen Ellis Breen made changes -
          Assignee Michael Nitschinger [ daschl ] Ellis Breen [ ellis.breen ]
          Ellis.Breen Ellis Breen made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Ellis.Breen Ellis.Breen made changes -
          Actual Start 2019-06-04 13:03 (issue has been started)
          Ellis.Breen Ellis Breen made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          Ellis.Breen Ellis.Breen made changes -
          Actual End 2019-06-04 13:03 (issue has been resolved)
          brett19 Brett Lawson made changes -
          Story Points 1

          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