Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

EF Core: Implement specification/compliance tests #131

Copy link
Copy link

Description

@DaveRMaltby
Issue body actions

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

  1. Test project referencing Microsoft.EntityFrameworkCore.Relational.Specification.Tests
  2. Test fixtures implementing RelationalTestStoreFactory for each file provider
  3. RelationalComplianceTestBase subclass that enumerates which test classes are covered
  4. 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

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    deferredDeferred — not addressing nowDeferred — not addressing now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.