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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user