EfCore.TestSupport
3.2.0
See the version list below for details.
Install-Package EfCore.TestSupport -Version 3.2.0
dotnet add package EfCore.TestSupport --version 3.2.0
<PackageReference Include="EfCore.TestSupport" Version="3.2.0" />
paket add EfCore.TestSupport --version 3.2.0
#r "nuget: EfCore.TestSupport, 3.2.0"
// Install EfCore.TestSupport as a Cake Addin
#addin nuget:?package=EfCore.TestSupport&version=3.2.0
// Install EfCore.TestSupport as a Cake Tool
#tool nuget:?package=EfCore.TestSupport&version=3.2.0
EfCore.TestSupport
This git repo contains the source of the EfCore.TestSupport library, and various tests to check the EfCore.TestSupport NuGet package.
See Release Notes for information on changes.
This project is open-source (MIT licence) and works for EF Core 2.1 (netstandard2.0) and EF Core 3 (netstandard2.1).
Documentation
The NuGet package EfCore.TestSupport is a netstandard2.0 library 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 15 of the book Entity Framework in Action.
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 | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 2.0
- Microsoft.EntityFrameworkCore.Design (>= 2.1.0)
- Microsoft.EntityFrameworkCore.InMemory (>= 2.1.0)
- Microsoft.EntityFrameworkCore.Sqlite (>= 2.1.0)
- Microsoft.EntityFrameworkCore.SqlServer (>= 2.1.0)
- Microsoft.Extensions.Configuration (>= 2.1.0)
- Microsoft.Extensions.Configuration.Json (>= 2.1.0)
- Newtonsoft.Json (>= 12.0.2)
- System.Data.SqlClient (>= 4.5.0)
- xunit.assert (>= 2.3.1)
- xunit.core (>= 2.3.1)
-
.NETStandard 2.1
- Microsoft.Data.SqlClient (>= 1.0.19269.1)
- Microsoft.EntityFrameworkCore.Cosmos (>= 3.0.0)
- Microsoft.EntityFrameworkCore.Design (>= 3.0.0)
- Microsoft.EntityFrameworkCore.InMemory (>= 3.0.0)
- Microsoft.EntityFrameworkCore.Relational (>= 3.0.0)
- Microsoft.EntityFrameworkCore.Sqlite (>= 3.0.0)
- Microsoft.EntityFrameworkCore.SqlServer (>= 3.0.0)
- Microsoft.Extensions.Configuration (>= 3.0.0)
- Microsoft.Extensions.Configuration.Json (>= 3.0.0)
- Newtonsoft.Json (>= 12.0.2)
- 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 | 29,256 | 1/4/2022 |
5.2.1 | 15,047 | 11/19/2021 |
5.2.0 | 437 | 11/16/2021 |
5.1.0 | 1,243 | 11/10/2021 |
5.1.0-preview001 | 91 | 11/4/2021 |
5.0.0 | 83,972 | 1/2/2021 |
5.0.0-preview006 | 478 | 12/11/2020 |
5.0.0-preview005 | 229 | 12/10/2020 |
5.0.0-preview004 | 246 | 12/10/2020 |
5.0.0-preview003 | 258 | 12/5/2020 |
5.0.0-preview002 | 207 | 12/5/2020 |
5.0.0-preview001 | 268 | 12/5/2020 |
3.2.0 | 103,701 | 5/23/2020 |
3.1.1 | 23,934 | 3/26/2020 |
3.1.0 | 47,881 | 11/1/2019 |
3.0.0 | 7,502 | 10/12/2019 |
2.0.1 | 35,383 | 7/22/2019 |
2.0.0 | 18,291 | 6/4/2019 |
1.9.0 | 65,792 | 4/22/2019 |
1.8.0 | 4,197 | 3/25/2019 |
1.7.0 | 1,864 | 3/19/2019 |
1.6.1 | 10,769 | 1/28/2019 |
1.6.0 | 613 | 1/28/2019 |
1.5.2 | 12,178 | 1/4/2019 |
1.5.1 | 36,174 | 10/24/2018 |
1.5.0 | 3,132 | 10/2/2018 |
1.4.0 | 12,685 | 6/7/2018 |
1.3.1 | 4,136 | 4/1/2018 |
1.3.0 | 1,816 | 3/1/2018 |
1.2.0 | 1,270 | 1/22/2018 |
1.1.5 | 1,128 | 12/27/2017 |
1.1.4 | 944 | 12/27/2017 |
1.1.3 | 1,080 | 12/1/2017 |
1.1.2 | 887 | 11/21/2017 |
1.1.1 | 880 | 11/17/2017 |
1.1.0 | 889 | 11/16/2017 |
1.0.2 | 837 | 10/13/2017 |
1.0.1 | 847 | 9/30/2017 |
1.0.0 | 1,016 | 9/29/2017 |
- New Feature: (only EF Core 3): The extension methods that create options for In-memory sqlite options and SQL Server options now have an optional parameter that allows you to add extra options to the DbContextOptionsBuilder
- New Feature: TimeThings has version that returns the result of the timing.
- Issue 32: Missing primary key in database causes a exception.