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

Use generated collection names for tests

    XMLWordPrintable

Details

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

    Description

      As discussed in mongodb/mongo-swift-driver#97, we should use generated names for test collections. This would minimize the chance of different tests using the same collection and inadvertently running with pre-existing data. It may also allow us to leave data behind for failed tests if we like (PHPLIB does this).

      The database name can be constant (where possible) throughout the test suite.

      Attachments

        Issue Links

          Activity

            People

              patrick.freed@mongodb.com Patrick Freed
              jmikola@mongodb.com Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: