Skip to content

What the engines cover

The Showcase runs on EF Core, and the same modules and the same integration suite run on the Sql engine and on the documents engine (Engines). What an engine copy leaves out is listed in the gate, each exclusion with its reason, and nothing is left out silently. This page is those lists, sorted by the kind of gap each one is.

The direction for the beta (owner, 2026-11-16): the engines are brought level with EF Core, not only measured. Each real gap the measurement finds gets an issue of its own that implements it on both engines; the EF Core-only features and the documents engine’s relations kept as keys are revisited with that goal, rather than kept as exclusions by default (#819).

Engine Test methods run Of the EF Core suite’s Files left out Single tests left out
Sql 641 677 17 3
Documents 580 677 25 41

1. Not measured: the test is bound to EF Core

Section titled “1. Not measured: the test is bound to EF Core”

1 test files, 2 test methods, left out on both engines because the test itself reads or prepares rows through EF Core, not because the engines are known to lack the feature (owner decision, 2026-11-06). Whether the engines support what these exercise is unknown until each file is rewritten through the engine-neutral surface: the boundary’s repositories, or the session. A test that then fails on an engine is a real gap, with an issue of its own.

File Test methods
Endpoints/AnUploadWhoseCommitIsNotAcknowledgedTests.cs 2

2. EF Core only: read through an IQueryable

Section titled “2. EF Core only: read through an IQueryable”

The engines read through their own query model, not IQueryable, so these module files are left out on both (#363), and the suite files that exercise them with them. Open: whether the engines get a query model for these, or they stay EF Core only and say so here, is the owner’s decision, per feature (#819).

Module file Engines
examples/showcase/src/Showcase.Catalog/Amenities/Actions/CountAmenitiesAction.cs both
examples/showcase/src/Showcase.Catalog/Properties/Endpoints/DevExpressSearchPropertiesEndpoint.cs both
examples/showcase/src/Showcase.Catalog/Properties/Endpoints/GridSearchPropertiesEndpoint.cs both
Suite file Test methods Follows from
CrossCutting/BoundaryKeyedServicesTests.cs 1 CountAmenitiesAction.cs
Endpoints/GridSearchTests.cs 6 GridSearchPropertiesEndpoint.cs
Endpoints/TheGridInItsOwnFormatTests.cs 6 DevExpressSearchPropertiesEndpoint.cs, GridSearchPropertiesEndpoint.cs

3. By design on the documents engine: a relation is kept as a key

Section titled “3. By design on the documents engine: a relation is kept as a key”

A document keeps a relation as the related row’s key (#479), so the documents engine refuses a [LoadEntity] with an Include (PRAG3111) and a write that cascades through a navigation (PRAG3112). The module files that need them are left out there, and the suite’s tests that call them: 38 single tests in 20 files, and 3 files whole.

Module file Refused as
examples/showcase/src/Showcase.Billing/Invoices/Actions/DownloadInvoicePdfAction.cs PRAG3111
examples/showcase/src/Showcase.Booking/Reservations/Actions/GetReservationAction.cs PRAG3111
examples/showcase/src/Showcase.Catalog/Properties/Mutations/DeletePropertyMutation.cs PRAG3112
examples/showcase/src/Showcase.Catalog/Properties/Mutations/RestorePropertyMutation.cs PRAG3112
examples/showcase/src/Showcase.Catalog/RoomTypes/Mutations/UpdateRoomTypeMutation.cs PRAG3112
Suite file Single tests left out
Authorization/PermissionEnforcementTests.cs 1
CrossCutting/ANavigationsOwnerDoesNotHideTheRootTests.cs 1
CrossCutting/AuthorizationTests.cs 2
CrossCutting/BoundaryTests.cs 2
CrossCutting/DataOwnershipTests.cs 4
CrossCutting/DomainEventTests.cs 2
CrossCutting/MessagingDeliveryTests.cs 1
CrossCutting/MessagingPipelineTests.cs 1
CrossCutting/NegativePathTests.cs 1
CrossCutting/SagaFlowTests.cs 1
CrossCutting/TenantMutationIsolationTests.cs 1
CrossCutting/TheZoneAMomentIsWrittenInTests.cs 4
DomainActions/CompositeActionTests.cs 1
DomainActions/NestedMutationEventsTests.cs 1
Endpoints/AutoIncludeTests.cs 1
Endpoints/EndpointFeatureTests.cs 1
EntityPersistence/AdvancedEntityTests.cs 4
EntityPersistence/SoftDeleteTests.cs 3
EntityPersistence/StateMachineTests.cs 5
Queries/VisibilityRuleTests.cs 1
Endpoints/TheInvoiceAsAPdfTests.cs the whole file, 2 test methods
Endpoints/TheInvoiceInTheGuestsLanguageTests.cs the whole file, 1 test methods
EntityPersistence/ARowReadWithItsNavigationsStaysInsideTheFiltersTests.cs the whole file, 2 test methods

What measuring kind 1 found missing on an engine: the feature, not the test. Each gap has an issue that implements it there, and its exclusion goes when the issue closes.

the engines have no [Lookup] cache (#881)

  • CrossCutting/ALookupWriteReloadsTheCacheTests.cs (both), 3 test methods
  • CrossCutting/LookupCacheTests.cs (both), 4 test methods
  • CrossCutting/InfrastructureTests.cs: LookupCache_TheDeclaredLookup_HasItsCacheAndPreloadRegistered (both)

the engines read a [Cacheable] query past its cache (#882)

  • CrossCutting/CachingIntegrationTests.cs: CacheableQuery_ServesAReadThatNoLongerMatchesTheDatabase (both)

A per-entity limit is best effort on the documents engine (owner decision, 2026-10-26, #397): it is counted before the write, with no serializable transaction, so concurrent adds can cross it.

  • Endpoints/TagConcurrencyTests.cs: ConcurrentAdds_NeverExceedTheLimit (Documents)

The test is of a mechanism of the EF Core provider, which the engines do not have by construction:

  • Authorization/ThePackagesColumnLengthsTests.cs (both), 1 test methods
  • CrossCutting/DeclaredSpecificationQueryableTests.cs (both), 1 test methods
  • CrossCutting/LocalizedFieldProjectionTests.cs (both), 1 test methods
  • CrossCutting/ReadAccessSetTests.cs (both), 1 test methods
  • DomainActions/BoundaryDbConnectionTests.cs (both), 2 test methods
  • EntityPersistence/TemporalQueryExtensionsTests.cs (both), 4 test methods

The test names a type the generator puts in the assembly’s namespace, and an engine copy of a module is another assembly:

  • Endpoints/ApiRoutesConstantsTests.cs (both), 1 test methods

The test calls a bulk write itself, which the Sql engine compiles where it is called, and the test assembly is not one its generator runs on. The bulk write is tested where it is compiled, in Pragmatic.Persistence.Sql.Tests:

  • EntityPersistence/SoftDeleteTests.cs: BulkDeleteThroughTheRepository_InsideASuspendedScope_DeletesTheRow (Sql)

The test reads or migrates PostgreSQL itself, and the documents host has none:

  • EntityPersistence/OneToOneUniquenessTests.cs (Documents), 2 test methods
  • EntityPersistence/TheFeeHierarchyIsOneTableTests.cs (Documents), 1 test methods
  • Migrations/MigrationPipelineTests.cs (Documents), 9 test methods
  • Migrations/MigrationRunnerE2ETests.cs (Documents), 6 test methods

Infrastructure each engine replaces with its own, not a gap: the host’s wiring on EF Core, and the suite’s web factory and fixture.

  • examples/showcase/src/Showcase.Host/Engine/ShowcaseEngine.EfCore.cs (both)
  • Infrastructure/ShowcaseWebFactory.cs (both)
  • Infrastructure/PostgresFixture.cs (Documents)
  • Infrastructure/CommitCounter.cs (both)
  • Jobs/JobStoreUnderTest.cs (both)
  • Jobs/JobsDbContext.cs (both)