Summary
The EF Core providers do not run the standard EF Core specification tests provided by Microsoft. These tests verify that a provider correctly implements the EF Core contract.
What's Needed
- Test project referencing
Microsoft.EntityFrameworkCore.Relational.Specification.Tests
- Test fixtures implementing
RelationalTestStoreFactory for each file provider
- RelationalComplianceTestBase subclass that enumerates which test classes are covered
- Provider-specific test store that creates/destroys file-based databases for test isolation
Key Test Suites to Implement
QueryTestBase — LINQ query translation correctness
UpdatesTestBase — INSERT/UPDATE/DELETE via EF Core
TransactionTestBase — transaction behavior
MigrationsTestBase — migration operations (once migrations are implemented)
ScaffoldingTestBase — reverse engineering correctness
Why This Matters
Without specification tests, there's no systematic way to verify provider correctness. Consumers may encounter subtle bugs where EF Core operations produce incorrect results or silently fail.
Standard Reference
Summary
The EF Core providers do not run the standard EF Core specification tests provided by Microsoft. These tests verify that a provider correctly implements the EF Core contract.
What's Needed
Microsoft.EntityFrameworkCore.Relational.Specification.TestsRelationalTestStoreFactoryfor each file providerKey Test Suites to Implement
QueryTestBase— LINQ query translation correctnessUpdatesTestBase— INSERT/UPDATE/DELETE via EF CoreTransactionTestBase— transaction behaviorMigrationsTestBase— migration operations (once migrations are implemented)ScaffoldingTestBase— reverse engineering correctnessWhy This Matters
Without specification tests, there's no systematic way to verify provider correctness. Consumers may encounter subtle bugs where EF Core operations produce incorrect results or silently fail.
Standard Reference