Skip to content
Project referenceDevelopmentEngine ccf7d03f

Inno.Runtime.Generators.Tests owns the behavior described below. Use this guide to find relevant assertions and their environment; the scenario list is not a current passing result.

Module-catalog generation emits compilable metadata and factories, while a converter without a construction entry fails compilation. Subsystem generation updates a strongly typed catalog from local declarations, rejects duplicate stable IDs and invalid factory boundaries, and preserves caller parameter names.

Serialization generation rejects invalid declarations, keeps external base accessors in their owning assembly and round-trips private members, hooks, structs and closed collections. Private declarations remain inside their partial owners. These tests compile generated output; a text comparison alone would not establish those contracts.

The project declares the contract layer. Use the actual Roslyn and runtime project references. Fixture declarations remain test-owned; do not widen production visibility to make generated-access tests convenient.

Generate and inspect one validation plan, then execute that plan with its evaluated target, product and output properties. A focused test filter helps diagnosis; it does not replace required owner evidence. The pinned project file contains the actual references and metadata.

Representative entry points are checked against the pinned source. The linked files retain all assertions and parameterized cases.

Read the complete assertions. Representative entry points:

  • AConverterWithoutAConstructionEntryFailsDuringCompilation
  • GeneratedCatalogCompilesAndPublishesExactMetadataAndFactories

Read the complete assertions. Representative entry points:

  • AddingLocalDeclarationUpdatesStronglyTypedCatalogWithoutEditingHost
  • DuplicateStableIdsFailDuringCompilation
  • InvalidFactoryBoundaryFailsInsteadOfBeingSilentlyDiscovered
  • CatalogPreservesCallerParameterNames

Read the complete assertions. Representative entry points:

  • InvalidDeclarationsFailDuringGeneration
  • ExternalBaseMembersAndHooksUseTheirOwningAssemblyAccessors
  • GeneratedAccessorsRoundTripPrivateMembersHooksStructsAndClosedCollections
  • PrivateDeclarationsRemainInsidePartialOwners

Follow suite maintenance. Fixtures own their own sessions, temporary files and processes. Preserve thread, release and failure ordering; do not remove another owner’s lock or widen production visibility.