• Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Testing
    • Labels:
      None

      mtest.T has become bloated. The type could be abstracted into several, smaller types that handle their own setup and teardown. In particular, a resource type could be created to handle Client, Database and Collection setup. Furthermore, mtest.T.shareClient is an example of global mutable state that, while currently unused, should be removed.

      Potential refactors should be at least discussed within the team before being implemented.

            Assignee:
            Unassigned Unassigned
            Reporter:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: