Remove project reference from MongoDB.Driver.Tests to MongoDB.Driver.Core.Tests

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.0
    • Affects Version/s: None
    • Component/s: Testing
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We currently have a reference from the MongoDB.Driver.Tests project to the MongoDB.Driver.Core.Tests projects. The reason for the reference is to gain access to the RequiresServerAttribute.

      But we shouldn't have a reference to the entire test project. That gives unintended access to everything in the project and can result in name conflicts or subtle bugs.

      We should either just copy/adapt the one class that is currently being accessed via the reference, or create a helper DLL with the shared types that any test project can reference.

            Assignee:
            Robert Stam (Inactive)
            Reporter:
            Robert Stam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: