feat: split tests into per-suite files

This commit is contained in:
2026-10-19 00:45:29 +02:00
parent 92c1daf396
commit 3a04c1884a
11 changed files with 2425 additions and 2128 deletions
+12 -2
View File
@@ -1,5 +1,13 @@
add_executable(destrum_tests
destrum_tests.cpp
main.cpp
TestUtils.h
core_tests.cpp
serialization_tests.cpp
physics_tests.cpp
assets_tests.cpp
graphics_tests.cpp
ui_tests.cpp
gameplay_tests.cpp
${CMAKE_SOURCE_DIR}/lightkeeper/src/components/Activatable.cpp
${CMAKE_SOURCE_DIR}/lightkeeper/src/components/Interactable.cpp
${CMAKE_SOURCE_DIR}/lightkeeper/src/components/InteractableButton.cpp
@@ -26,4 +34,6 @@ target_link_libraries(destrum_tests PRIVATE destrum::destrum)
destrum_enable_warnings(destrum_tests)
add_test(NAME destrum_tests COMMAND destrum_tests)
foreach(suite core serialization physics assets graphics ui gameplay)
add_test(NAME destrum_tests.${suite} COMMAND destrum_tests ${suite})
endforeach()