logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.UnityStage.Tests.Infrastructure

    Classes

    SpawnPointRegistryTests

    PlayMode tests for Serenity.Stage.Infrastructure.Authoring.SpawnPointRegistry. SpawnPoint ids are private serialized fields, so the registry is exercised with no resolvable points: empty-id points are skipped during Build (warning), and lookups for any id miss.

    SpawnPointTests

    PlayMode tests for Serenity.Stage.Infrastructure.Authoring.SpawnPoint. The serialized id field is private and cannot be set from a test, so these tests cover the transform-derived Serenity.Stage.Infrastructure.Authoring.SpawnPoint.Pose and the empty-id behaviour of Serenity.Stage.Infrastructure.Authoring.SpawnPoint.Id.

    StageRootTests

    PlayMode tests for Serenity.Stage.Infrastructure.Authoring.StageRoot. The serialized stageId is private; an unconfigured StageRoot exposes an empty-but-non-null Serenity.Stage.Domain.ValueObjects.StageId.

    UnityStageServiceTests

    PlayMode tests for Serenity.Stage.Infrastructure.Services.UnityStageService. Covers initialization, prefab instantiation (null + real), authoring-component extraction, and the stage lifecycle (start / complete / fail / snapshot).

    In this article
    © 2026 Serenity. All Rights Reserved