Uploaded image for project: 'Swift Driver'
  1. Swift Driver
  2. SWIFT-207

Create base class for functional tests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.0.8
    • Component/s: None
    • Labels:

      Description

      In mongodb/mongo-swift-driver#97, Kaitlin Mahar noted that getSpecsPath() is currently defined in an extension to XCTestCase. Rather than continue extending XCTestCase, we can introduce our own base class (e.g. MongoTestCase) that inherits XCTestCase and provides additional methods relevant to our own functional tests (e.g. getter for specs path, default database name).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              may.hoque May Hoque
              Reporter:
              jmikola Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: