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

Convert MongoDB.Driver.Core.Tests project from NSubstitute to Moq

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3
    • Affects Version/s: 2.2.3
    • Component/s: Testing
    • Labels:

      We have received many requests to support .NET Core and are very eager to do so.

      One of the main obstacles has been that our test projects depend on some libraries that don't support .NET Core.

      NSubstitute has been slow to support .NET Core, and it is unclear when or if they will.

      While the official Moq branch does not yet support .NET Core, the ASP.NET team has been using a fork of Moq that does.

      Given the importance of the ASP.NET project, we believe that this fork will soon be integrated with the official branch, and we believe that in the short and long term we will be better off depending on Moq than on NSubstitute.

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