Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1109

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.0
    • None
    • Testing
    • None

    Description

      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.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: