Module generation and unload tests
Section titled “Module generation and unload tests”Inno.Extensibility.Modules.Tests verifies the Extensibility.Modules 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.
Behavior covered
Section titled “Behavior covered”Real versioned module fixtures exercise load, reload and rollback through the active type and registry snapshots. Unload barriers detect retained generation roots. Pending participants keep both live collectible generations protected, including wrapped pending failures and rejected activation whose compensation is not finished. An isolated host must discover its own types and release its own context.
Environment and execution
Section titled “Environment and execution”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:
dotnet test tests/extensibility/Inno.Extensibility.Modules.Tests/Inno.Extensibility.Modules.Tests.csproj --configuration Debug --disable-build-servers -m:1 -nodeReuse:falseUse --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.
Scenario reference
Section titled “Scenario reference”These representative methods are preserved from the original reference and checked against the pinned source. The linked files contain all assertions and parameterized cases.
Assembly Manager
Section titled “Assembly Manager”Read the assertions. Representative entry points:
RepeatedReloadCollectsEveryRetiredContextBeforeNextGenerationRetainedGenerationRootsCannotPassTheUnloadBarrierLoadAndReloadPublishOnlyTheActiveGenerationRollbackRestoresThePreviousTypeAndRegistrySnapshot
Host Load Context
Section titled “Host Load Context”Read the assertions. Representative entry points:
IsolatedHostDiscoversItsOwnTypesAndReleasesItsContext
Module Retirement
Section titled “Module Retirement”Read the assertions. Representative entry points:
PendingParticipantDoesNotBeginUnloadingEitherLiveGenerationWrappedPendingKeepsBothCollectibleContextsAndPreservesTheOriginalFailureCatalogParticipantErrorsBeforePendingDoNotDisappearOrUnloadEitherContextRejectedCatalogActivationRemainsVisibleWhenItsRollbackIsPending
Extend safely
Section titled “Extend safely”Follow the shared suite-maintenance guidance. Preserve this suite’s owner-thread, resource-release and failure assertions when adding cases.