Building, Testing, and Development Workflows
Page Status
This page is a placeholder. Content coming soon.
Detailed build and test reference beyond the initial setup.
CMake configuration options and build types (Debug, Release)
The code generation step: what
generate_config.pydoes, when CMake re-runs itBuilding specific targets:
porytiles2(executable),Porytiles2UnitTests,Porytiles2IntegrationTests,Porytiles2AllTestsRunning tests: GoogleTest filter flags (
--gtest_filter), running specific test suites or individual testsThe custom test main (
test_main.cpp): stacktrace control via--enable-stacktraceTest resource files in
Resources/and how integration tests reference themRunning the formatter:
uv run Scripts/format.pyRunning the linter:
uv run Scripts/tidy.pyRunning code coverage:
uv run Scripts/coverage.py build,report,show,cleanThe common development loop: edit code -> build -> run tests -> format -> commit
Testing against a real decomp project: the
../pokeemerald-expansiontestbed
Cross-references: Setting Up Your Development Environment for initial setup, Scripts and Tooling for full script reference, Writing Tests for test authoring patterns