EfCore.TestSupport
8.0.1
dotnet add package EfCore.TestSupport --version 8.0.1
NuGet\Install-Package EfCore.TestSupport -Version 8.0.1
<PackageReference Include="EfCore.TestSupport" Version="8.0.1" />
paket add EfCore.TestSupport --version 8.0.1
#r "nuget: EfCore.TestSupport, 8.0.1"
// Install EfCore.TestSupport as a Cake Addin #addin nuget:?package=EfCore.TestSupport&version=8.0.1 // Install EfCore.TestSupport as a Cake Tool #tool nuget:?package=EfCore.TestSupport&version=8.0.1
EfCore.TestSupport
This NuGet package containing methods to help test applications that use Entity Framework Core for database access using SQL Server, PostgreSQL, Cosmos DB, and a generic in-memory SQLite approach which works with every EF Core database provider (with limitations). This readme provides links to the documentation in the EfCore.TestSupport wiki. Also see Release Notes for information on changes.
The EfCore.TestSupport library is available on NuGet as EfCore.TestSupport and is an open-source library under the MIT license. See ReleaseNotes for details of the changes in each vesion.
List of versions and which .NET framework they support
- Version 8.?.? supports NET 8 only (simpler to update to next NET release)
- Version 6.?.? supports NET 6, 7 and 8
- Version 5.2.? supports NET 5, 6 and 7
There are older versions of the EfCore.TestSupport library, but .NET lower than .NET 5 are not supported by Microsoft.
Documentation
The NuGet package EfCore.TestSupport containing methods to help you unit test applications that use Entity Framework Core for database access. This readme defines the various groups, with links to the documentation in the EfCore.TestSupport wiki.
NOTE: The techniques are explained in much more details in chapter 17 of the book Entity Framework in Action, second edition.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- Microsoft.EntityFrameworkCore (>= 8.0.2)
- Microsoft.EntityFrameworkCore.Design (>= 8.0.2)
- Microsoft.EntityFrameworkCore.Relational (>= 8.0.2)
- Microsoft.EntityFrameworkCore.Sqlite (>= 8.0.2)
- Microsoft.EntityFrameworkCore.SqlServer (>= 8.0.2)
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Microsoft.Extensions.Configuration.Json (>= 8.0.0)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 8.0.2)
- xunit.assert (>= 2.5.3)
- xunit.core (>= 2.5.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (8)
Showing the top 5 popular GitHub repositories that depend on EfCore.TestSupport:
Repository | Stars |
---|---|
JonPSmith/AuthPermissions.AspNetCore
This library provides extra authorization and multi-tenant features to an ASP.NET Core application.
|
|
JonPSmith/EfCore.GenericServices
A library to help you quickly code CRUD accesses for a web/mobile/desktop application using EF Core.
|
|
JonPSmith/EfCoreinAction-SecondEdition
Supporting repo to go with book "Entity Framework Core in Action", second edition
|
|
JonPSmith/PermissionAccessControl2
Version 2 of example application to go with articles on feature and data authorization
|
|
JonPSmith/PermissionAccessControl
Example code for Authorization articles
|
Version | Downloads | Last updated |
---|---|---|
8.0.1 | 107,326 | 4/10/2024 |
8.0.0 | 1,255 | 4/4/2024 |
6.0.2 | 40,146 | 2/7/2024 |
6.0.1 | 14,616 | 1/23/2024 |
6.0.0 | 52,731 | 11/21/2023 |
5.3.0 | 220,901 | 11/14/2022 |
5.2.2 | 358,895 | 1/4/2022 |
5.2.1 | 23,076 | 11/19/2021 |
5.2.0 | 1,226 | 11/16/2021 |
5.1.0 | 11,715 | 11/10/2021 |
5.1.0-preview001 | 212 | 11/4/2021 |
5.0.0 | 212,233 | 1/2/2021 |
5.0.0-preview006 | 1,000 | 12/11/2020 |
5.0.0-preview005 | 770 | 12/10/2020 |
5.0.0-preview004 | 872 | 12/10/2020 |
5.0.0-preview003 | 835 | 12/5/2020 |
5.0.0-preview002 | 877 | 12/5/2020 |
5.0.0-preview001 | 849 | 12/5/2020 |
3.2.0 | 176,942 | 5/23/2020 |
3.1.1 | 31,628 | 3/26/2020 |
3.1.0 | 60,108 | 11/1/2019 |
3.0.0 | 8,780 | 10/12/2019 |
2.0.1 | 49,906 | 7/22/2019 |
2.0.0 | 31,389 | 6/4/2019 |
1.9.0 | 151,830 | 4/22/2019 |
1.8.0 | 5,195 | 3/25/2019 |
1.7.0 | 2,700 | 3/19/2019 |
1.6.1 | 11,793 | 1/28/2019 |
1.6.0 | 1,517 | 1/28/2019 |
1.5.2 | 17,435 | 1/4/2019 |
1.5.1 | 46,480 | 10/24/2018 |
1.5.0 | 4,200 | 10/2/2018 |
1.4.0 | 14,505 | 6/7/2018 |
1.3.1 | 8,331 | 4/1/2018 |
1.3.0 | 2,693 | 3/1/2018 |
1.2.0 | 2,113 | 1/22/2018 |
1.1.5 | 1,955 | 12/27/2017 |
1.1.4 | 1,784 | 12/27/2017 |
1.1.3 | 1,998 | 12/1/2017 |
1.1.2 | 1,668 | 11/21/2017 |
1.1.1 | 1,686 | 11/17/2017 |
1.1.0 | 1,671 | 11/16/2017 |
1.0.2 | 1,642 | 10/13/2017 |
1.0.1 | 1,692 | 9/30/2017 |
1.0.0 | 2,059 | 9/29/2017 |
- Updated Microsoft.EntityFrameworkCore.* NuGets to 8.0.2 to remove the vulnerable Microsoft.Data.SqlClient version