EfCore.TestSupport
5.2.2
Install-Package EfCore.TestSupport -Version 5.2.2
dotnet add package EfCore.TestSupport --version 5.2.2
<PackageReference Include="EfCore.TestSupport" Version="5.2.2" />
paket add EfCore.TestSupport --version 5.2.2
#r "nuget: EfCore.TestSupport, 5.2.2"
// Install EfCore.TestSupport as a Cake Addin
#addin nuget:?package=EfCore.TestSupport&version=5.2.2
// Install EfCore.TestSupport as a Cake Tool
#tool nuget:?package=EfCore.TestSupport&version=5.2.2
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.
NOTE: Version 5.1.0 and above of this library supports multiple versions of EF Core 5. And version 5.1.0 and above supports EF Core 5.10 and EF Core 6.0
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.1 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 2.1
- Microsoft.Data.SqlClient (>= 3.0.1)
- Microsoft.EntityFrameworkCore.Design (>= 5.0.10)
- Microsoft.EntityFrameworkCore.Relational (>= 5.0.10)
- Microsoft.EntityFrameworkCore.Sqlite (>= 5.0.10)
- Microsoft.EntityFrameworkCore.SqlServer (>= 5.0.10)
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Configuration.Json (>= 5.0.0)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 5.0.10)
- Respawn (>= 4.0.0)
- xunit.assert (>= 2.4.1)
- xunit.core (>= 2.4.1)
-
net6.0
- Microsoft.Data.SqlClient (>= 3.0.1)
- Microsoft.EntityFrameworkCore (>= 6.0.0)
- Microsoft.EntityFrameworkCore.Design (>= 6.0.0)
- Microsoft.EntityFrameworkCore.Relational (>= 6.0.0)
- Microsoft.EntityFrameworkCore.Sqlite (>= 6.0.0)
- Microsoft.EntityFrameworkCore.SqlServer (>= 6.0.0)
- Microsoft.Extensions.Configuration (>= 6.0.0)
- Microsoft.Extensions.Configuration.Json (>= 6.0.0)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 6.0.0)
- Respawn (>= 4.0.0)
- xunit.assert (>= 2.4.1)
- xunit.core (>= 2.4.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on EfCore.TestSupport:
Package | Downloads |
---|---|
AuthPermissions.AspNetCore
Provides extra authorization and multi-tenant features to a ASP.NET Core application. |
GitHub repositories (6)
Showing the top 5 popular GitHub repositories that depend on EfCore.TestSupport:
Repository | Stars |
---|---|
JonPSmith/EfCore.GenericServices
A library to help you quickly code CRUD accesses for a web/mobile/desktop application using EF Core.
|
|
JonPSmith/AuthPermissions.AspNetCore
This library provides extra authorization and multi-tenant features to an ASP.NET Core application.
|
|
JonPSmith/PermissionAccessControl2
Version 2 of example application to go with articles on feature and data authorization
|
|
JonPSmith/EfCoreinAction-SecondEdition
Supporting repo to go with book "Entity Framework Core in Action", second edition
|
|
JonPSmith/PermissionAccessControl
Example code for Authorization articles
|
Version | Downloads | Last updated |
---|---|---|
5.2.2 | 34,041 | 1/4/2022 |
5.2.1 | 15,659 | 11/19/2021 |
5.2.0 | 442 | 11/16/2021 |
5.1.0 | 1,296 | 11/10/2021 |
5.1.0-preview001 | 95 | 11/4/2021 |
5.0.0 | 85,909 | 1/2/2021 |
5.0.0-preview006 | 483 | 12/11/2020 |
5.0.0-preview005 | 232 | 12/10/2020 |
5.0.0-preview004 | 249 | 12/10/2020 |
5.0.0-preview003 | 261 | 12/5/2020 |
5.0.0-preview002 | 210 | 12/5/2020 |
5.0.0-preview001 | 271 | 12/5/2020 |
3.2.0 | 105,195 | 5/23/2020 |
3.1.1 | 24,156 | 3/26/2020 |
3.1.0 | 48,057 | 11/1/2019 |
3.0.0 | 7,528 | 10/12/2019 |
2.0.1 | 35,804 | 7/22/2019 |
2.0.0 | 18,528 | 6/4/2019 |
1.9.0 | 66,681 | 4/22/2019 |
1.8.0 | 4,207 | 3/25/2019 |
1.7.0 | 1,873 | 3/19/2019 |
1.6.1 | 10,788 | 1/28/2019 |
1.6.0 | 622 | 1/28/2019 |
1.5.2 | 12,266 | 1/4/2019 |
1.5.1 | 36,490 | 10/24/2018 |
1.5.0 | 3,147 | 10/2/2018 |
1.4.0 | 12,708 | 6/7/2018 |
1.3.1 | 4,257 | 4/1/2018 |
1.3.0 | 1,829 | 3/1/2018 |
1.2.0 | 1,285 | 1/22/2018 |
1.1.5 | 1,142 | 12/27/2017 |
1.1.4 | 959 | 12/27/2017 |
1.1.3 | 1,097 | 12/1/2017 |
1.1.2 | 901 | 11/21/2017 |
1.1.1 | 894 | 11/17/2017 |
1.1.0 | 902 | 11/16/2017 |
1.0.2 | 849 | 10/13/2017 |
1.0.1 | 861 | 9/30/2017 |
1.0.0 | 1,034 | 9/29/2017 |
- Bug Fix: Use 'current_user' instead of 'postgres' in PostgreSQL version of EnsureClean - see issue #48