EntityFrameworkCore.Testing.NSubstitute 1.1.1

A mocking library for EntityFrameworkCore (EFCore) using NSubstitute. Provides a functionally complete DbContext for your tests.

This is achieved by extending the in-memory provider, mocking relational and queryable operations to provide support for Queries, FromSql, ExecuteSqlCommand, and async LINQ operations.

Support is also provided for other LINQ operations not supported by the in-memory provider, such as ElementAt, SkipWhile, TakeWhile, etc.

There is a newer version of this package available.
See the version list below for details.
Install-Package EntityFrameworkCore.Testing.NSubstitute -Version 1.1.1
dotnet add package EntityFrameworkCore.Testing.NSubstitute --version 1.1.1
<PackageReference Include="EntityFrameworkCore.Testing.NSubstitute" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EntityFrameworkCore.Testing.NSubstitute --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

GitHub repositories (0)

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.2.1 254 5/22/2020
2.2.0 495 3/8/2020
2.1.0 477 1/22/2020
2.0.4 130 1/19/2020
2.0.3 145 1/5/2020
2.0.3-RC05 111 12/30/2019
2.0.3-RC04 139 12/28/2019
2.0.3-RC03 201 12/28/2019
2.0.3-RC02 98 12/22/2019
1.1.1 96 5/22/2020
1.1.0 172 3/8/2020
1.0.7 117 1/19/2020
1.0.6 148 1/5/2020
1.0.6-RC04 123 12/28/2019
1.0.6-RC02 92 12/22/2019
1.0.5 85 12/17/2019
1.0.4 98 11/14/2019
1.0.3 81 11/11/2019
1.0.2 101 10/27/2019
Show less