Skip to content

Fix MySqlComplianceTest by adding EF Core 10.0 test base classes to IgnoredTestBases#113

Merged
renemadsen merged 2 commits intomasterfrom
copilot/fix-missing-derived-classes
Nov 17, 2025
Merged

Fix MySqlComplianceTest by adding EF Core 10.0 test base classes to IgnoredTestBases#113
renemadsen merged 2 commits intomasterfrom
copilot/fix-missing-derived-classes

Conversation

Copy link

Copilot AI commented Nov 16, 2025

Description

EF Core 10.0 introduced 88 new test base classes that MySqlComplianceTest expected to find implementations for, causing All_test_bases_must_be_implemented to fail.

Changes

Added all 88 missing test base classes to IgnoredTestBases in MySqlComplianceTest.cs:

  • Type tests: TypeTestBase<,>, RelationalTypeTestBase<,>
  • Translation tests: ByteArray, Enum, Guid, Math, Miscellaneous, String (base and relational variants)
  • Temporal translation tests: DateOnly, DateTimeOffset, DateTime, TimeOnly, TimeSpan
  • Operator translation tests: Arithmetic, Bitwise, Comparison, Logical, Miscellaneous
  • Association tests: BulkUpdate, Collection, Miscellaneous, PrimitiveCollection, Projection, SetOperations, StructuralEquality
  • Navigation tests: Collection, Include, Miscellaneous, PrimitiveCollection, Projection, SetOperations, StructuralEquality (base and relational variants)
  • Owned navigation tests: Same categories as navigation tests (base and relational variants)
  • Complex property tests: BulkUpdate, Collection, Miscellaneous, PrimitiveCollection, Projection, SetOperations, StructuralEquality
  • Complex/Owned table splitting and JSON tests: Multiple variants for ComplexTableSplitting, OwnedTableSplitting, OwnedJson, ComplexJson
  • Model building: ComplexCollectionTestBase, RelationalComplexCollectionTestBase
  • Tracking/Update: ComplexTypesTrackingRelationalTestBase<>, LazyLoadProxyRelationalTestBase<>, PropertyValuesRelationalTestBase<>, ComplexCollectionJsonUpdateTestBase<>

Added required namespace imports:

using Microsoft.EntityFrameworkCore.Query.Associations;
using Microsoft.EntityFrameworkCore.Query.Associations.ComplexJson;
using Microsoft.EntityFrameworkCore.Query.Associations.ComplexProperties;
using Microsoft.EntityFrameworkCore.Query.Associations.ComplexTableSplitting;
using Microsoft.EntityFrameworkCore.Query.Associations.Navigations;
using Microsoft.EntityFrameworkCore.Query.Associations.OwnedJson;
using Microsoft.EntityFrameworkCore.Query.Associations.OwnedNavigations;
using Microsoft.EntityFrameworkCore.Query.Associations.OwnedTableSplitting;
using Microsoft.EntityFrameworkCore.Query.Translations;
using Microsoft.EntityFrameworkCore.Query.Translations.Operators;
using Microsoft.EntityFrameworkCore.Query.Translations.Temporal;
using Microsoft.EntityFrameworkCore.Types;

All entries marked with // TODO: 10.0 comments for future implementation tracking.

Original prompt

This section details on the original issue you should resolve

<issue_title>fix Failed Pomelo.EntityFrameworkCore.MySql.FunctionalTests.MySqlComplianceTest.All_test_bases_must_be_implemented</issue_title>
<issue_description>```
Failed Pomelo.EntityFrameworkCore.MySql.FunctionalTests.MySqlComplianceTest.All_test_bases_must_be_implemented [132 ms]
Error Message:

-- Missing derived classes for --
Microsoft.EntityFrameworkCore.Types.TypeTestBase2 Microsoft.EntityFrameworkCore.Query.Translations.ByteArrayTranslationsTestBase1
Microsoft.EntityFrameworkCore.Query.Translations.EnumTranslationsTestBase1 Microsoft.EntityFrameworkCore.Query.Translations.GuidTranslationsTestBase1
Microsoft.EntityFrameworkCore.Query.Translations.MathTranslationsTestBase1 Microsoft.EntityFrameworkCore.Query.Translations.MiscellaneousTranslationsTestBase1
Microsoft.EntityFrameworkCore.Query.Translations.StringTranslationsTestBase1 Microsoft.EntityFrameworkCore.Query.Translations.Temporal.DateOnlyTranslationsTestBase1
Microsoft.EntityFrameworkCore.Query.Translations.Temporal.DateTimeOffsetTranslationsTestBase1 Microsoft.EntityFrameworkCore.Query.Translations.Temporal.DateTimeTranslationsTestBase1
Microsoft.EntityFrameworkCore.Query.Translations.Temporal.TimeOnlyTranslationsTestBase1 Microsoft.EntityFrameworkCore.Query.Translations.Temporal.TimeSpanTranslationsTestBase1
Microsoft.EntityFrameworkCore.Query.Translations.Operators.ArithmeticOperatorTranslationsTestBase1 Microsoft.EntityFrameworkCore.Query.Translations.Operators.BitwiseOperatorTranslationsTestBase1
Microsoft.EntityFrameworkCore.Query.Translations.Operators.ComparisonOperatorTranslationsTestBase1 Microsoft.EntityFrameworkCore.Query.Translations.Operators.LogicalOperatorTranslationsTestBase1
Microsoft.EntityFrameworkCore.Query.Translations.Operators.MiscellaneousOperatorTranslationsTestBase1 Microsoft.EntityFrameworkCore.Query.Associations.AssociationsBulkUpdateTestBase1
Microsoft.EntityFrameworkCore.Query.Associations.AssociationsCollectionTestBase1 Microsoft.EntityFrameworkCore.Query.Associations.AssociationsMiscellaneousTestBase1
Microsoft.EntityFrameworkCore.Query.Associations.AssociationsPrimitiveCollectionTestBase1 Microsoft.EntityFrameworkCore.Query.Associations.AssociationsProjectionTestBase1
Microsoft.EntityFrameworkCore.Query.Associations.AssociationsSetOperationsTestBase1 Microsoft.EntityFrameworkCore.Query.Associations.AssociationsStructuralEqualityTestBase1
Microsoft.EntityFrameworkCore.Query.Associations.OwnedNavigations.OwnedNavigationsCollectionTestBase1 Microsoft.EntityFrameworkCore.Query.Associations.OwnedNavigations.OwnedNavigationsMiscellaneousTestBase1
Microsoft.EntityFrameworkCore.Query.Associations.OwnedNavigations.OwnedNavigationsPrimitiveCollectionTestBase1 Microsoft.EntityFrameworkCore.Query.Associations.OwnedNavigations.OwnedNavigationsProjectionTestBase1
Microsoft.EntityFrameworkCore.Query.Associations.OwnedNavigations.OwnedNavigationsSetOperationsTestBase1 Microsoft.EntityFrameworkCore.Query.Associations.OwnedNavigations.OwnedNavigationsStructuralEqualityTestBase1
Microsoft.EntityFrameworkCore.Query.Associations.Navigations.NavigationsCollectionTestBase1 Microsoft.EntityFrameworkCore.Query.Associations.Navigations.NavigationsIncludeTestBase1
Microsoft.EntityFrameworkCore.Query.Associations.Navigations.NavigationsMiscellaneousTestBase1 Microsoft.EntityFrameworkCore.Query.Associations.Navigations.NavigationsPrimitiveCollectionTestBase1
Microsoft.EntityFrameworkCore.Query.Associations.Navigations.NavigationsProjectionTestBase1 Microsoft.EntityFrameworkCore.Query.Associations.Navigations.NavigationsSetOperationsTestBase1
Microsoft.EntityFrameworkCore.Query.Associations.Navigations.NavigationsStructuralEqualityTestBase1 Microsoft.EntityFrameworkCore.Query.Associations.ComplexProperties.ComplexPropertiesBulkUpdateTestBase1
Microsoft.EntityFrameworkCore.Query.Associations.ComplexProperties.ComplexPropertiesCollectionTestBase1 Microsoft.EntityFrameworkCore.Query.Associations.ComplexProperties.ComplexPropertiesMiscellaneousTestBase1
Microsoft.EntityFrameworkCore.Query.Associations.ComplexProperties.ComplexPropertiesPrimitiveCollectionTestBase1 Microsoft.EntityFrameworkCore.Query.Associations.ComplexProperties.ComplexPropertiesProjectionTestBase1
Microsoft.EntityFrameworkCore.Query.Associations.ComplexProperties.ComplexPropertiesSetOperationsTestBase1 Microsoft.EntityFrameworkCore.Query.Associations.ComplexProperties.ComplexPropertiesStructuralEqualityTestBase1
Microsoft.EntityFrameworkCore.ModelBuilding.ModelBuilderTest+ComplexCollectionTestBase
Microsoft.EntityFrameworkCore.ComplexTypesTrackingRelationalTestBase1 Microsoft.EntityFrameworkCore.LazyLoadProxyRelationalTestBase1
Microsoft.EntityFrameworkCore.PropertyValuesRelationalTestBase1 Microsoft.EntityFrameworkCore.Update.ComplexCollectionJsonUpdateTestBase1
Microsoft.EntityFrameworkCore.Types.RelationalTypeTestBase`2
Microsoft.EntityFrame...


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix missing derived classes for MySql compliance tests Fix MySqlComplianceTest by adding EF Core 10.0 test base classes to IgnoredTestBases Nov 16, 2025
Copilot AI requested a review from renemadsen November 16, 2025 19:39
@renemadsen renemadsen marked this pull request as ready for review November 17, 2025 04:53
@renemadsen renemadsen merged commit ec1f373 into master Nov 17, 2025
1 of 55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix Failed Pomelo.EntityFrameworkCore.MySql.FunctionalTests.MySqlComplianceTest.All_test_bases_must_be_implemented

2 participants