dotnet / efcore

EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
https://docs.microsoft.com/ef/
MIT License
13.55k stars 3.13k forks source link

Query/Test: consider splitting GearsOfWar test suite, so that only tests with actual inheritance run in TPT and TPC modes #33878

Open maumar opened 1 month ago

maumar commented 1 month ago

All GoW tests run for TPT and TPC, but some entities don't have inheritance (in fact majority don't but the most common one - Gear does). We should consider splitting non-inheritance tests into a separate test class, so that we don't duplicate unnecessarily.

roji commented 1 month ago

Maybe even move the inheritance tests to InheritanceQueryTestBase...