EfCore.TestSupport 5.0.0
No packages depend on EfCore.TestSupport.
A serious cleanup to the this library with BREAKING CHANGES
BREAKING CHANGES
- Altered SqliteInMemory methods to return a IDisposable options (disposes connection at the end of the test). THIS WILL BREAK YOUR CODE.
- Cosmos DB methods renames and extended
REMOVED FEATURES
- Removed EfSchemaCompare - going to its own library (but not there yet)
- Removed SeedDatabase - use old 3.2.0 EfCore.TestSupport version
- Remove InMemory Database helper - use EF Core's In Memory database
NEW FEATURES
- Add EnsureClean. This clears the schema and data and set up new model (only for SQL Server)
- SqliteInMemory now has CreateOptionsWithLogTo extension method
- SqlServer now has CreateUniqueClassOptionsWithLogTo and CreateUniqueMethodOptionsWithLogTo extension methods
MARKED AS OBSOLETE
- CreateOptionsWithLogging - use ...ToLog version
- CreateUniqueClassOptionsWithLogging - use ...ToLog version
- CreateUniqueMethodOptionsWithLogging - use ...ToLog version
- CreateEmptyViaWipe - recommend EnsureClean or respawn
.NET Standard 2.1
- Microsoft.Data.SqlClient (>= 2.1.1)
- Microsoft.EntityFrameworkCore.Cosmos (>= 5.0.1)
- Microsoft.EntityFrameworkCore.Design (>= 5.0.1)
- Microsoft.EntityFrameworkCore.Relational (>= 5.0.1)
- Microsoft.EntityFrameworkCore.SqlServer (>= 5.0.1)
- Microsoft.EntityFrameworkCore.Sqlite (>= 5.0.1)
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Configuration.Json (>= 5.0.0)
- xunit.assert (>= 2.4.1)
- xunit.core (>= 2.4.1)
| Version | Downloads | Last updated |
|---|---|---|
| 10.0.0 | 14 | 06/25/2026 |
| 9.0.0 | 13 | 06/30/2026 |
| 8.0.1 | 12 | 06/25/2026 |
| 8.0.0 | 17 | 06/30/2026 |
| 6.0.2 | 11 | 06/25/2026 |
| 6.0.1 | 19 | 06/25/2026 |
| 6.0.0 | 10 | 07/01/2026 |
| 5.3.0 | 19 | 06/25/2026 |
| 5.2.2 | 16 | 03/31/2022 |
| 5.2.1 | 14 | 06/25/2026 |
| 5.2.0 | 16 | 06/25/2026 |
| 5.1.0 | 15 | 06/25/2026 |
| 5.1.0-preview001 | 10 | 06/30/2026 |
| 5.0.0 | 10 | 07/06/2026 |
| 5.0.0-preview006 | 14 | 06/26/2026 |
| 5.0.0-preview005 | 23 | 06/26/2026 |
| 5.0.0-preview004 | 13 | 06/26/2026 |
| 5.0.0-preview003 | 21 | 06/26/2026 |
| 5.0.0-preview002 | 16 | 06/26/2026 |
| 5.0.0-preview001 | 8 | 06/26/2026 |
| 3.2.0 | 15 | 06/25/2026 |
| 3.1.1 | 11 | 06/30/2026 |
| 3.1.0 | 11 | 06/25/2026 |
| 3.0.0 | 14 | 07/02/2026 |
| 2.0.1 | 7 | 06/25/2026 |
| 2.0.0 | 9 | 03/22/2021 |
| 1.9.0 | 19 | 06/25/2026 |
| 1.8.0 | 14 | 06/25/2026 |
| 1.7.0 | 14 | 06/25/2026 |
| 1.6.1 | 14 | 06/30/2026 |
| 1.6.0 | 19 | 06/25/2026 |
| 1.5.2 | 10 | 06/25/2026 |
| 1.5.1 | 21 | 09/03/2021 |
| 1.5.0 | 16 | 06/25/2026 |
| 1.4.0 | 14 | 06/25/2026 |
| 1.3.1 | 17 | 06/30/2026 |
| 1.3.0 | 14 | 06/25/2026 |
| 1.2.0 | 11 | 06/25/2026 |
| 1.1.5 | 11 | 06/30/2026 |
| 1.1.4 | 16 | 06/30/2026 |
| 1.1.3 | 16 | 07/19/2026 |
| 1.1.2 | 14 | 06/30/2026 |
| 1.1.1 | 15 | 07/19/2026 |
| 1.1.0 | 19 | 06/30/2026 |
| 1.0.2 | 17 | 06/25/2026 |
| 1.0.1 | 14 | 06/30/2026 |
| 1.0.0 | 17 | 06/30/2026 |