Testing¶
Running the tests¶
Scaffold tests¶
cmake --build build --target ScaffoldRoundTrip
./build/ScaffoldRoundTrip
bash Tests/scaffold_integration.sh
Tests/scaffold_integration.sh exercises the CLI from a Gallery project folder and from
Engine/, then compiles the generated sources (including an EDITOR_BUILD game target).
For a safe walkthrough under /tmp:
To exercise the real Engine/CMakeLists.txt:
Adding tests¶
Tests live under Tests/. Add coverage for new components, systems, and serialization
changes. Prefer tests that exercise the real registry and serializer over mocked ones.