logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.AiPromptBuilder.Tests.Editor

    Classes

    AiPromptAnswerSheetTests

    EditMode tests for AiPromptAnswerSheet — the list-backed dictionary stand-in.

    AiPromptComposerTests

    EditMode tests for AiPromptComposer — a fake IAiPromptTemplateSource, no AssetDatabase.

    AiPromptContradictionDetectorTests

    EditMode tests for AiPromptContradictionDetector — the 5 documented rules plus a false-positive guard.

    AiPromptIntentTests

    EditMode tests for the six IAiPromptIntent implementations — questions, validation, emission, and scan-driven pickers.

    AiPromptModuleCatalogTests

    EditMode tests for Serenity.Editor.AiPromptBuilder.AiPromptModuleCatalog — the module -> cookbook-doc mapping.

    AiPromptProjectScanTests

    EditMode tests for AiPromptProjectScan over hand-built lists — never touches AssetDatabase.

    AiPromptSkillsReadinessTests

    EditMode tests for AiPromptSkillsReadiness — a scratch temp directory stands in for the project root. The required skill set is read from the real project's bundled skills via BundledSkillNames() rather than hardcoded here, so the fixture never drifts from what the package actually ships.

    AiPromptSlashCommandInstallerTests

    EditMode tests for AiPromptSlashCommandInstaller — writes into a scratch temp directory standing in for the project root, never the real project.

    AiPromptTemplateCatalogTests

    Drift guard for the shipped prompt templates: every name KnownTemplateNames claims to ship must exist on disk under Assets/Serenity/Documentation/PromptTemplates, and every {{TOKEN}} found inside a template must be declared in Serenity.AiPromptBuilder.Tests.Editor.AiPromptTemplateCatalogTests.TokenContract — an undeclared token means the template and the C# producing its values fell out of sync.

    AiPromptTemplateRendererTests

    EditMode tests for AiPromptTemplateRenderer — pure string substitution, no Unity dependency.

    AiPromptUserInstructionLibraryTests

    EditMode tests for AiPromptUserInstructionLibrary — a fake IAiPromptPreferencesStore (in-memory dictionary), no EditorPrefs.

    AiPromptWizardStepPlanTests

    EditMode tests for AiPromptWizardStepPlan — pure, no AssetDatabase.

    In this article
    © 2026 Serenity. All Rights Reserved