Class RecipeTestSupport
Shared helpers for recipe tests that reach Import
with real assets, so they do not pollute the project's Addressables settings.
Inheritance
RecipeTestSupport
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
Returns
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
Returns
WithoutAddressablesRegistration()
Import options with Addressables registration disabled, for recipe builders whose import run must
not touch AddressableAssetSettings.
Declaration
public static RecipeImportOptionsDto WithoutAddressablesRegistration()
Returns