Skip to content
Project referenceDevelopmentEngine ccf7d03f

Type discovery and registry retirement tests

Section titled “Type discovery and registry retirement tests”

Inno.Extensibility.Types.Tests verifies the Extensibility.Types contracts through their public entry points. Use this page to locate relevant assertions; it is not a report that these tests passed for your current change.

The suite checks both assembly classification dimensions and rejects missing metadata. Type queries return concrete matching declarations while preserving stable and runtime identities through ordinary rebuilds. Failed candidate construction releases new resources and preserves the last-good state. Pending retirement does not repeat completed resources or release lower dependencies early; deadline failure retains dependencies and rejects further retirement.

The project declares the contract validation layer. Use the shared validation workflow to select its actual dependencies and environment. Inspect the pinned project file for package and project references.

A focused diagnostic from the engine root is:

Terminal window
dotnet test tests/extensibility/Inno.Extensibility.Types.Tests/Inno.Extensibility.Types.Tests.csproj --configuration Debug --disable-build-servers -m:1 -nodeReuse:false

Use --filter FullyQualifiedName~MethodName to investigate one case. A filtered run does not replace the obligations in the validation plan. Restore the declared SDK, packages and any tool/process prerequisites before executing; preserve cancellation, thread and cleanup requirements.

These representative methods are preserved from the original reference and checked against the pinned source. The linked files contain all assertions and parameterized cases.

Read the assertions. Representative entry points:

  • AssemblyClassificationReadsBothMetadataDimensions
  • MissingClassificationIsRejected

Read the assertions. Representative entry points:

  • PendingBatchDoesNotRepeatCompletedResourcesOrReleaseLowerDependenciesEarly
  • DeadlineFailureRetainsDependenciesAndPermanentlyRejectsFurtherRetirement

Read the assertions. Representative entry points:

  • CandidateConstructionRollbackReleasesAllNewResourcesAndKeepsLastGood
  • CandidateRollbackCleanupFailureFaultsGateAfterEveryResourceIsAttempted
  • QueriesReturnOnlyConcreteMatchingTypes
  • StableAndRuntimeIdentitySurviveOrdinaryRebuild

Follow the shared suite-maintenance guidance. Preserve this suite’s owner-thread, resource-release and failure assertions when adding cases.