EntityFrameworkCore.Testing.Moq 2.3.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package EntityFrameworkCore.Testing.Moq --version 2.3.2                
NuGet\Install-Package EntityFrameworkCore.Testing.Moq -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.Moq" 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.Moq --version 2.3.2                
#r "nuget: EntityFrameworkCore.Testing.Moq, 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.Moq as a Cake Addin
#addin nuget:?package=EntityFrameworkCore.Testing.Moq&version=2.3.2

// Install EntityFrameworkCore.Testing.Moq as a Cake Tool
#tool nuget:?package=EntityFrameworkCore.Testing.Moq&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 (1)

Showing the top 1 NuGet packages that depend on EntityFrameworkCore.Testing.Moq:

Package Downloads
Nanis.RepositoryCriteria.EntityFrameworkCore

Nanis.RepositoryCriteria.EntityFrameworkCore is a library designed to implement an abstraction of the **Repository** pattern using **Entity Framework**. This library also implements the **Unit of Work** pattern to manage database transactions and commits, and the **Criteria** pattern to build complex queries with logical operators and criteria composition.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.0 112,662 11/24/2023
8.0.0-rc01 440 11/19/2023
5.0.0 476,587 1/4/2023
5.0.0-rc01 2,611 12/14/2022
4.0.2 237,038 6/11/2022
4.0.2-rc01 613 6/7/2022
4.0.1 6,765 6/7/2022
4.0.1-rc01 566 5/23/2022
4.0.0 150,388 11/15/2021
4.0.0-net6.preview.5 478 6/18/2021
4.0.0-net6.preview.4 218 5/25/2021
4.0.0-net6.preview.3 241 4/24/2021
3.0.5 10,768 6/11/2022
3.0.4 1,063 6/7/2022
3.0.4-beta01 3,228 5/16/2021
3.0.3 58,233 5/9/2021
3.0.3-rc01 689 5/9/2021
3.0.2 8,480 4/24/2021
3.0.2-rc02 691 4/24/2021
3.0.2-rc01 623 4/24/2021
3.0.1 8,713 4/4/2021
3.0.1-rc01 753 4/4/2021
3.0.0 2,542 3/1/2021
2.4.5 14,498 6/11/2022
2.4.4 879 6/7/2022
2.4.3 84,803 5/15/2021
2.4.2 1,381 4/24/2021
2.4.2-rc01 725 4/24/2021
2.4.1 1,061 4/4/2021
2.4.1-rc01 703 4/4/2021
2.4.0 5,084 3/1/2021
2.3.3-beta05 763 1/28/2021
2.3.2 11,228 11/14/2020
2.3.1 22,620 9/24/2020
2.3.0 15,937 9/20/2020
2.2.2 9,400 7/13/2020
2.2.1 16,415 5/22/2020
2.2.0 4,059 3/8/2020
2.1.0 2,322 1/22/2020
2.0.4 1,105 1/19/2020
2.0.3 1,372 1/5/2020
2.0.3-RC04 941 12/28/2019
2.0.3-RC03 1,034 12/28/2019
2.0.3-RC02 873 12/22/2019
2.0.2 1,909 12/17/2019
2.0.1 1,299 11/14/2019
2.0.0 1,275 11/11/2019
1.3.5 2,305 6/11/2022
1.3.4 1,105 6/7/2022
1.3.3 2,179 5/15/2021
1.3.2 926 4/24/2021
1.3.2-rc01 742 4/24/2021
1.3.1 989 4/4/2021
1.3.1-rc01 766 4/4/2021
1.3.0 3,876 3/1/2021
1.2.1 6,285 11/14/2020
1.2.0 1,319 9/20/2020
1.1.2 2,756 7/13/2020
1.1.1 1,393 5/22/2020
1.1.0 6,625 3/8/2020
1.0.7 3,156 1/19/2020
1.0.6 1,190 1/5/2020
1.0.6-RC04 988 12/28/2019
1.0.6-RC02 915 12/22/2019
1.0.5 1,502 12/17/2019
1.0.4 12,046 11/14/2019
1.0.3 1,236 11/11/2019
1.0.2 1,932 10/27/2019
1.0.1 2,094 10/20/2019
1.0.0 1,296 10/20/2019