[CSHARP-1656] Convert MongoDB.Driver.Tests project from NSubstitute to Moq Created: 05/May/16  Updated: 23/Sep/16  Resolved: 31/May/16

Status: Closed
Project: C# Driver
Component/s: Testing
Affects Version/s: 2.2.3
Fix Version/s: 2.3

Type: Task Priority: Major - P3
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CSHARP-1566 Solve dependency on NSubstitute for .... Closed
Epic Link: .NET Core

 Description   

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.



 Comments   
Comment by Githook User [ 07/Jun/16 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-1656: Convert MongoDB.Driver.Tests from NSubstitute to Moq.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/d733b4d8a45ea9581f9031f6287b82a6055163fa

Generated at Wed Feb 07 21:40:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.