Skip to content

Testing & CI

aernw edited this page Dec 16, 2025 · 4 revisions

Local Tests

Some local tests are available :

  • test_sparse_array — ECS storage
  • test_player_system, test_enemy_system — gameplay systems
  • test_lobby, test_udp_protocol — networking layers
  • test_renderer, test_background, test_health_system

Run the binaries from build/bin/ to test your features.

Feel free to modify them or create new ones.

To compile a new test :

  • put your test file in tests/your_test.cpp
  • add it to the CMakeLists.txt :
add_executable(your_test tests/your_test.cpp)
target_link_libraries(your_test PRIVATE needed_libraries)
  • run the build and your executable

Clone this wiki locally