logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityRecipeReportTests

    Tests for ToJson() — the machine-readable report an agent reads to self-correct. Verifies counts, flags, summary, and that enums round-trip as their string names rather than integers. The report's JSON DTOs are private, so these tests parse into local mirror types.

    Inheritance
    object
    SerenityRecipeReportTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.ProjectRecipe.Tests.Editor
    Assembly: Serenity.ProjectRecipe.Tests.Editor.dll
    Syntax
    public class SerenityRecipeReportTests

    Constructors

    SerenityRecipeReportTests()

    Declaration
    public SerenityRecipeReportTests()

    Methods

    ToJson_EmptyReport_IsValidWithZeroCounts()

    Declaration
    public void ToJson_EmptyReport_IsValidWithZeroCounts()

    ToJson_SerializesEnumsAsStringNames()

    Declaration
    public void ToJson_SerializesEnumsAsStringNames()

    ToJson_WithMixedActionsAndMessages_ReportsCountsAndFlags()

    Declaration
    public void ToJson_WithMixedActionsAndMessages_ReportsCountsAndFlags()
    In this article
    © 2026 Serenity. All Rights Reserved