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

Make test database name accessible from the base class

    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

      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

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

                Dates

                Created:
                Updated:
                Resolved: