EfCore.TestSupport
5.0.0-preview001
See the version list below for details.
dotnet add package EfCore.TestSupport --version 5.0.0-preview001
NuGet\Install-Package EfCore.TestSupport -Version 5.0.0-preview001
<PackageReference Include="EfCore.TestSupport" Version="5.0.0-preview001" />
<PackageVersion Include="EfCore.TestSupport" Version="5.0.0-preview001" />
<PackageReference Include="EfCore.TestSupport" />
paket add EfCore.TestSupport --version 5.0.0-preview001
#r "nuget: EfCore.TestSupport, 5.0.0-preview001"
#:package EfCore.TestSupport@5.0.0-preview001
#addin nuget:?package=EfCore.TestSupport&version=5.0.0-preview001&prerelease
#tool nuget:?package=EfCore.TestSupport&version=5.0.0-preview001&prerelease
EfCore.TestSupport
Tools for helping in unit testing applications that use Entity Framework Core. See Release Notes for information on changes.
This project is open-source (MIT licence) and works for EF Core 5
| Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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. |
-
.NETStandard 2.1
- Microsoft.Data.SqlClient (>= 2.1.0)
- Microsoft.EntityFrameworkCore.Cosmos (>= 5.0.0)
- Microsoft.EntityFrameworkCore.Design (>= 5.0.0)
- Microsoft.EntityFrameworkCore.Relational (>= 5.0.0)
- Microsoft.EntityFrameworkCore.Sqlite (>= 5.0.0)
- Microsoft.EntityFrameworkCore.SqlServer (>= 5.0.0)
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Configuration.Json (>= 5.0.0)
- xunit.assert (>= 2.4.1)
- xunit.core (>= 2.4.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (9)
Showing the top 9 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
|
|
|
JonPSmith/EfCore.GenericBizRunner
Library to run business logic when using Entity Framework Core for database accesses
|
|
|
JonPSmith/EfCore.SchemaCompare
Library to compare EF Core's Model of the database against a database's schema.
|
|
|
JonPSmith/EfCore.SoftDeleteServices
Services to provide simple soft delete and cascade soft delete in EF Core
|
|
|
JonPSmith/Net.DistributedFileStoreCache
NET distributed cache using a json file as the shared resourse with very fast Get
|
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0 | 11,581 | 11/24/2025 |
| 9.0.0 | 120,309 | 11/20/2024 |
| 8.0.1 | 350,758 | 4/10/2024 |
| 8.0.0 | 9,580 | 4/4/2024 |
| 6.0.2 | 57,337 | 2/7/2024 |
| 6.0.1 | 16,078 | 1/23/2024 |
| 6.0.0 | 77,269 | 11/21/2023 |
| 5.3.0 | 252,469 | 11/14/2022 |
| 5.2.2 | 383,886 | 1/4/2022 |
| 5.2.1 | 23,339 | 11/19/2021 |
| 5.2.0 | 1,456 | 11/16/2021 |
| 5.1.0 | 12,579 | 11/10/2021 |
| 5.1.0-preview001 | 408 | 11/4/2021 |
| 5.0.0 | 234,484 | 1/2/2021 |
| 5.0.0-preview006 | 1,509 | 12/11/2020 |
| 5.0.0-preview005 | 997 | 12/10/2020 |
| 5.0.0-preview004 | 1,075 | 12/10/2020 |
| 5.0.0-preview001 | 1,071 | 12/5/2020 |
- A serious cleanup to the this library
BREAKING CHANGES
- Altered SqliteInMemory methods to return a IDisposable options (disposes connection at the end of the test). Can effect current code.
NEW FEATURES
- Add `EnsureClean`. This clears the schema and data and set up new model (only for SQL Server)
- SqliteInMemory now has CreateOptionsWithLogTo
- SqlServer now has CreateUniqueClassOptionsWithLogTo and CreateUniqueMethodOptionsWithLogTo
REMOVED FEATURES
- Removed EfSchemaCompare - going to its own library
- Removed SeedDatabase - use old 3.2.0 EfCore.TestSupport version
- Remove InMemory Database helper - use EF Core's In Memory database
MARKED AS OBSOLETE
- CreateOptionsWithLogging - use ...ToLog version
- CreateUniqueClassOptionsWithLogging - use ...ToLog version
- CreateUniqueMethodOptionsWithLogging - use ...ToLog version
- CreateEmptyViaWipe - recommend `EnsureClean` or respawn