Skip to content
Project referenceDevelopmentEngine ccf7d03f

Editor startup and script projection tests

Section titled “Editor startup and script projection tests”

Inno.Editor.Hosting.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.

Startup rejects prior cancellation, missing backend selection, an unregistered default target and invalid frame limits before project IO or product ownership begins.

Script projection consumes the actual EditorProduct.props discovery closure and the public Build script entry. Runtime Animation/UI/Rendering and Editor Settings/Shader types must remain exported. This obligation belongs with the Editor product host; it must not select the entire Build integration suite solely because a Panel changes.

Projection fixtures create their own empty projects, compile through ScriptCompiler and inspect actual assembly metadata. They preserve the original exact type assertions without rerunning the full documentation audit.

The project declares the contract layer. Inspect the product prerequisites derived from the real Editor composition before execution. The Editor script projection collection disables parallelism so another authoring context cannot interfere; drain compilation and release each temporary project afterward.

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:

  • CancellationBeforeStartupDoesNotCreateProjectOrAcquireProductResources
  • MissingBackendSelectionFailsBeforeProjectIoOrNativeInitialization
  • UnregisteredDefaultTargetIsRejectedBeforeProductOwnershipBegins
  • InvalidFrameLimitDoesNotCreateProject

Read the complete assertions. Representative entry points:

  • CliLogicalRuntimeReferencesIncludeAnimation
  • LogicalEditorReferencesIncludeTheSharedProductFeatures

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.