Enhance testing framework and CMake integration for YAZE

- Conditionally include Google Test support in the build configuration, allowing for integrated testing when enabled.
- Refactor ImGui Test Engine setup to be conditional based on the YAZE_ENABLE_UI_TESTS flag, improving modularity.
- Update EditorManager to register new test suites, including integrated and performance tests, enhancing test coverage.
- Improve the test dashboard UI with additional options for filtering and viewing test results, providing a better user experience.
- Introduce a new integrated test suite for comprehensive testing of core functionalities, ensuring robustness and reliability.
This commit is contained in:
scawful
2025-09-25 13:29:39 -04:00
parent 41adb1b70e
commit 8ab30dd5ad
8 changed files with 776 additions and 51 deletions

View File

@@ -108,12 +108,16 @@ include(cmake/asar.cmake)
# ImGui
include(cmake/imgui.cmake)
# Google Test (if needed for main app integration)
if (YAZE_BUILD_TESTS)
include(cmake/gtest.cmake)
endif()
# Project Files
add_subdirectory(src)
# Tests
if (YAZE_BUILD_TESTS)
include(cmake/gtest.cmake)
add_subdirectory(test)
endif()