Skip to content

og-framework/og-tests-cmake-runner

Repository files navigation

og-tests-cmake-runner

CMake assembly repo that builds and runs the og-framework Catch2 test exes (og_simulation_tests.exe + og_brawler_tests.exe) from a single tree. This is the canonical entrypoint for standalone test execution — no Unreal Engine required.

Position in the og-framework graph

og-simulation        (extern/og-simulation/)
og-brawler           (extern/og-brawler/)
og-simulation-tests  (extern/og-simulation-tests/)
og-brawler-tests     (extern/og-brawler-tests/)
    ↓ assembled and built by
og-tests-cmake-runner  (this repo)

Related repos

Repo Role
og-simulation Pure C++ simulation core
og-brawler Pure C++ brawler core
og-simulation-tests Catch2 test source for og-simulation
og-brawler-tests Catch2 test source for og-brawler
og-brawler-unreal UE game project; runs the same tests as UE Low-Level Test targets
og-tools PowerShell toolkit for cross-repo pin management (submoduled at tools/og-tools/)

Quickstart

git clone --recurse-submodules https://github.com/og-framework/og-tests-cmake-runner
cd og-tests-cmake-runner
cmake -S . -B build -G "Visual Studio 17 2022"
cmake --build build --config Release
ctest --test-dir build -C Release --output-on-failure

Expected pass counts:

Test exe Assertions Test cases
og_simulation_tests 218 11
og_brawler_tests 40 20

Layout

Source/ThirdParty/Catch2/    Vendored Catch2 v3.14.0 amalgamation
extern/og-simulation/        Submodule — pure C++ simulation core
extern/og-brawler/           Submodule — pure C++ brawler core
extern/og-simulation-tests/  Submodule — Catch2 test source for simulation
extern/og-brawler-tests/     Submodule — Catch2 test source for brawler
tools/og-tools/              Submodule — og-tools PowerShell module (v1.1.1)
CMakeLists.txt               Root; wires all extern submodules into one build tree

Canonical workflow

See og-brawler-unreal/docs/cross-repo-dev-loop.md for the multi-repo development workflow (submodule push order, pin management via og-tools).

License and contributing

MPL-2.0. Inbound = outbound.

See CONTRIBUTING.md for the decision tree on where to make your change.

About

CMake assembly that builds and runs the og-framework Catch2 test executables standalone — no Unreal Engine required.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages