logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class RecipeTestSupport

    Shared helpers for recipe tests that reach Import with real assets, so they do not pollute the project's Addressables settings.

    Inheritance
    object
    RecipeTestSupport
    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 static class RecipeTestSupport

    Methods

    ExportThroughJson(string, SerenityRecipeReport)

    Exports scanRoot and parses the recipe back from its JSON text — exactly the way a recipe file written by the exporter window travels to the importer — with Addressables registration disabled for the import that follows.

    Declaration
    public static SerenityRecipe ExportThroughJson(string scanRoot, SerenityRecipeReport exportReport)
    Parameters
    Type Name Description
    string scanRoot
    SerenityRecipeReport exportReport
    Returns
    Type Description
    SerenityRecipe

    TouchedAssetPaths(SerenityRecipeReport)

    The asset paths a run created, updated or filled — every action that is not "unchanged".

    Declaration
    public static List<string> TouchedAssetPaths(SerenityRecipeReport report)
    Parameters
    Type Name Description
    SerenityRecipeReport report
    Returns
    Type Description
    List<string>

    WithoutAddressablesRegistration()

    Import options with Addressables registration disabled, for recipe builders whose import run must not touch AddressableAssetSettings.

    Declaration
    public static RecipeImportOptionsDto WithoutAddressablesRegistration()
    Returns
    Type Description
    RecipeImportOptionsDto
    In this article
    © 2026 Serenity. All Rights Reserved