EntityFrameworkCore.Testing.NSubstitute 2.3.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package EntityFrameworkCore.Testing.NSubstitute --version 2.3.2                
NuGet\Install-Package EntityFrameworkCore.Testing.NSubstitute -Version 2.3.2                
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.3.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EntityFrameworkCore.Testing.NSubstitute --version 2.3.2                
#r "nuget: EntityFrameworkCore.Testing.NSubstitute, 2.3.2"                
#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.3.2

// Install EntityFrameworkCore.Testing.NSubstitute as a Cake Tool
#tool nuget:?package=EntityFrameworkCore.Testing.NSubstitute&version=2.3.2                

EntityFrameworkCore.Testing allows you to create an EntityFrameworkCore DbContext that you can use in your unit tests. It's easy to use (usually just a single line of code) with implementations for both Moq and NSubstitute.

It extends the functionality of an existing database provider by proxying over it. It was designed with the Microsoft in-memory provider in mind with supported operations sent to the database provider and unsupported operations, such as relational operations, handled by EntityFrameworkCore.Testing. While it does not attempt to mock supported operations, it does proxy over them using a mocking framework so you get all of the benefits of the latter such as being able to assert an invocation.

It includes support for queries/keyless db sets, FromSql/FromSqlRaw/FromSqlInterpolated, ExecuteSqlCommand/ExecuteSqlRaw/ExecuteSqlInterpolated, and async LINQ operations.

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
9.0.1 0 11/27/2024
9.0.1-rc01 27 11/26/2024
9.0.0 181 11/25/2024
9.0.0-rc02 40 11/23/2024
9.0.0-rc01 31 11/23/2024
8.1.1 284 11/23/2024
8.1.0 68 11/23/2024
8.1.0-rc01 32 11/23/2024
8.0.0 187,813 11/24/2023
8.0.0-rc01 410 11/19/2023
5.0.0 110,834 1/4/2023
5.0.0-rc01 338 12/14/2022
4.0.2 75,698 6/11/2022
4.0.2-rc01 290 6/7/2022
4.0.1 810 6/7/2022
4.0.1-rc01 179 5/23/2022
4.0.0 33,033 11/15/2021
4.0.0-net6.preview.5 5,330 6/18/2021
4.0.0-net6.preview.4 210 5/25/2021
4.0.0-net6.preview.3 222 4/24/2021
3.0.5 3,450 6/11/2022
3.0.4 535 6/7/2022
3.0.4-beta01 1,311 5/16/2021
3.0.3 53,048 5/9/2021
3.0.3-rc01 308 5/9/2021
3.0.2 698 4/24/2021
3.0.2-rc02 317 4/24/2021
3.0.1 1,435 4/4/2021
3.0.1-rc01 379 4/4/2021
3.0.0 6,242 3/1/2021
2.4.5 802 6/11/2022
2.4.4 442 6/7/2022
2.4.3 3,537 5/15/2021
2.4.2 444 4/24/2021
2.4.2-rc01 260 4/24/2021
2.4.1 404 4/4/2021
2.4.1-rc01 338 4/4/2021
2.4.0 9,613 3/1/2021
2.3.2 20,386 11/14/2020
2.3.1 7,065 9/24/2020
2.3.0 9,180 9/20/2020
2.2.2 3,116 7/13/2020
2.2.1 1,452 5/22/2020
2.2.0 1,387 3/8/2020
2.1.0 1,286 1/22/2020
2.0.4 595 1/19/2020
2.0.3 656 1/5/2020
2.0.3-RC05 415 12/30/2019
2.0.3-RC04 443 12/28/2019
2.0.3-RC03 513 12/28/2019
2.0.3-RC02 437 12/22/2019
1.3.5 609 6/11/2022
1.3.4 521 6/7/2022
1.3.3 613 5/15/2021
1.3.2 432 4/24/2021
1.3.2-rc01 251 4/24/2021
1.3.1 480 4/4/2021
1.3.1-rc01 250 4/4/2021
1.3.0 806 3/1/2021
1.2.1 1,810 11/14/2020
1.2.0 554 9/20/2020
1.1.2 1,543 7/13/2020
1.1.1 657 5/22/2020
1.1.0 720 3/8/2020
1.0.7 606 1/19/2020
1.0.6 659 1/5/2020
1.0.6-RC04 432 12/28/2019
1.0.6-RC02 412 12/22/2019
1.0.5 620 12/17/2019
1.0.4 633 11/14/2019
1.0.3 635 11/11/2019
1.0.2 898 10/27/2019