EntityFrameworkCore.Testing.Moq 3.0.0

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

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

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 is compatible.  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. 
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 18,365 11/24/2023
8.0.0-rc01 407 11/19/2023
5.0.0 363,867 1/4/2023
5.0.0-rc01 2,488 12/14/2022
4.0.2 204,505 6/11/2022
4.0.2-rc01 585 6/7/2022
4.0.1 6,121 6/7/2022
4.0.1-rc01 539 5/23/2022
4.0.0 144,341 11/15/2021
4.0.0-net6.preview.5 467 6/18/2021
4.0.0-net6.preview.4 210 5/25/2021
4.0.0-net6.preview.3 226 4/24/2021
3.0.5 9,748 6/11/2022
3.0.4 1,029 6/7/2022
3.0.4-beta01 3,195 5/16/2021
3.0.3 55,837 5/9/2021
3.0.3-rc01 652 5/9/2021
3.0.2 8,433 4/24/2021
3.0.2-rc02 649 4/24/2021
3.0.2-rc01 588 4/24/2021
3.0.1 8,466 4/4/2021
3.0.1-rc01 730 4/4/2021
3.0.0 2,481 3/1/2021
2.4.5 11,421 6/11/2022
2.4.4 853 6/7/2022
2.4.3 84,447 5/15/2021
2.4.2 1,332 4/24/2021
2.4.2-rc01 702 4/24/2021
2.4.1 1,032 4/4/2021
2.4.1-rc01 676 4/4/2021
2.4.0 4,967 3/1/2021
2.3.3-beta05 740 1/28/2021
2.3.2 11,065 11/14/2020
2.3.1 22,382 9/24/2020
2.3.0 15,729 9/20/2020
2.2.2 8,783 7/13/2020
2.2.1 15,731 5/22/2020
2.2.0 3,950 3/8/2020
2.1.0 2,277 1/22/2020
2.0.4 1,079 1/19/2020
2.0.3 1,329 1/5/2020
2.0.3-RC04 914 12/28/2019
2.0.3-RC03 989 12/28/2019
2.0.3-RC02 843 12/22/2019
2.0.2 1,856 12/17/2019
2.0.1 1,256 11/14/2019
2.0.0 1,159 11/11/2019
1.3.5 2,181 6/11/2022
1.3.4 1,062 6/7/2022
1.3.3 2,081 5/15/2021
1.3.2 888 4/24/2021
1.3.2-rc01 717 4/24/2021
1.3.1 962 4/4/2021
1.3.1-rc01 737 4/4/2021
1.3.0 3,802 3/1/2021
1.2.1 6,247 11/14/2020
1.2.0 1,274 9/20/2020
1.1.2 2,551 7/13/2020
1.1.1 1,336 5/22/2020
1.1.0 6,578 3/8/2020
1.0.7 3,109 1/19/2020
1.0.6 1,143 1/5/2020
1.0.6-RC04 949 12/28/2019
1.0.6-RC02 872 12/22/2019
1.0.5 1,452 12/17/2019
1.0.4 11,376 11/14/2019
1.0.3 1,208 11/11/2019
1.0.2 1,531 10/27/2019
1.0.1 2,065 10/20/2019
1.0.0 1,241 10/20/2019