EntityFrameworkCore.Testing.NSubstitute 2.2.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package EntityFrameworkCore.Testing.NSubstitute --version 2.2.1                
NuGet\Install-Package EntityFrameworkCore.Testing.NSubstitute -Version 2.2.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EntityFrameworkCore.Testing.NSubstitute" Version="2.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EntityFrameworkCore.Testing.NSubstitute --version 2.2.1                
#r "nuget: EntityFrameworkCore.Testing.NSubstitute, 2.2.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EntityFrameworkCore.Testing.NSubstitute as a Cake Addin
#addin nuget:?package=EntityFrameworkCore.Testing.NSubstitute&version=2.2.1

// Install EntityFrameworkCore.Testing.NSubstitute as a Cake Tool
#tool nuget:?package=EntityFrameworkCore.Testing.NSubstitute&version=2.2.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/Keyless DbSets, FromSqlRaw/FromSqlInterpolated, ExecuteSqlCommand/ExecuteSqlRaw/ExecuteSqlInterpolated, 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.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.0 137,159 11/24/2023
8.0.0-rc01 405 11/19/2023
5.0.0 105,107 1/4/2023
5.0.0-rc01 334 12/14/2022
4.0.2 71,866 6/11/2022
4.0.2-rc01 258 6/7/2022
4.0.1 806 6/7/2022
4.0.1-rc01 175 5/23/2022
4.0.0 32,643 11/15/2021
4.0.0-net6.preview.5 5,315 6/18/2021
4.0.0-net6.preview.4 205 5/25/2021
4.0.0-net6.preview.3 216 4/24/2021
3.0.5 2,834 6/11/2022
3.0.4 531 6/7/2022
3.0.4-beta01 1,308 5/16/2021
3.0.3 51,822 5/9/2021
3.0.3-rc01 305 5/9/2021
3.0.2 677 4/24/2021
3.0.2-rc02 312 4/24/2021
3.0.1 1,409 4/4/2021
3.0.1-rc01 374 4/4/2021
3.0.0 6,237 3/1/2021
2.4.5 796 6/11/2022
2.4.4 437 6/7/2022
2.4.3 3,416 5/15/2021
2.4.2 440 4/24/2021
2.4.2-rc01 251 4/24/2021
2.4.1 399 4/4/2021
2.4.1-rc01 333 4/4/2021
2.4.0 9,584 3/1/2021
2.3.2 20,237 11/14/2020
2.3.1 7,058 9/24/2020
2.3.0 9,177 9/20/2020
2.2.2 3,111 7/13/2020
2.2.1 1,439 5/22/2020
2.2.0 1,368 3/8/2020
2.1.0 1,275 1/22/2020
2.0.4 584 1/19/2020
2.0.3 653 1/5/2020
2.0.3-RC05 412 12/30/2019
2.0.3-RC04 440 12/28/2019
2.0.3-RC03 510 12/28/2019
2.0.3-RC02 433 12/22/2019
1.3.5 597 6/11/2022
1.3.4 517 6/7/2022
1.3.3 607 5/15/2021
1.3.2 422 4/24/2021
1.3.2-rc01 248 4/24/2021
1.3.1 477 4/4/2021
1.3.1-rc01 244 4/4/2021
1.3.0 800 3/1/2021
1.2.1 1,806 11/14/2020
1.2.0 551 9/20/2020
1.1.2 1,539 7/13/2020
1.1.1 651 5/22/2020
1.1.0 717 3/8/2020
1.0.7 603 1/19/2020
1.0.6 656 1/5/2020
1.0.6-RC04 423 12/28/2019
1.0.6-RC02 408 12/22/2019
1.0.5 616 12/17/2019
1.0.4 629 11/14/2019
1.0.3 629 11/11/2019
1.0.2 857 10/27/2019