Table of Contents

Class ContentPlatformTests

Namespace
GrindFest
Assembly
GrindFest.dll

Boot-time gates for the content platform (GrindFest.Workspace/CONTENT_PLATFORM_PLAN.md).

These can only be checked in a running game, which is the point: the EditMode gates prove the generated data is correct, these prove the game uses it instead of loading everything.

public class ContentPlatformTests : DevTest
Inheritance
object
ContentPlatformTests
Inherited Members

Methods

ContentLoadsAndQueriesAnswerWithoutPrefabs()

The content database must load and answer gameplay queries — with no asset loading involved, because every answer comes from the generated index.

ValuesComeFromDataNotFromPrefabs()

The property the whole design turns on: asking for a definition's values must never need its prefab.

WorldWasGeneratedWithoutLoadingTheWholeCatalogue()

The headline of phase P2: world generation resolved its prefabs through the generated catalogue, so the old whole-catalog preload (~3,900 assets) is gone. If this ever regresses, the count jumps back up.