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

Make test database name accessible from the base class

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 0.0.8
    • None

    Description

      Currently, we have hardcoded repetition of the test database name scattered throughout our testing code. This is pretty bad and annoying if we ever decide to use a different database name or if we want to do some functionality changes that involve doing something similar to generating a database name.

      We should add a method to the testing base class introduced by SWIFT-207 that returns the testing database name when called.

      We should then change these instances of hardcoded repetition in the codebase to call this new method.

      Attachments

        Issue Links

          Activity

            People

              patrick.freed@mongodb.com Patrick Freed
              may.hoque@mongodb.com May Hoque
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: