- Add CommandQueue unit tests for WaitForIdle and synchronization - Add SwapChain unit tests for Present and buffer operations - Add Texture unit tests for various texture types and mipmaps - Fix RHIIntegrationFixture with proper logging and debug output - Update minimal integration test with RHI abstraction layer - Add GT reference image for minimal test - Update TEST_SPEC.md documentation
RHI Integration Tests
This folder will contain integration tests for the RHI abstraction layer.
Integration tests verify the interaction between multiple RHI components working together.
Planned Tests
- Full render pipeline test (device -> swap chain -> command list -> present)
- Multi-threaded command recording
- Resource state transitions across multiple objects
- Frame synchronization with fences
Running Tests
# Build once, run against different backends
cmake --build build --config Debug
# Test D3D12 backend
RHI_BACKEND=D3D12 ./build/tests/RHI/unit/rhi_unit_tests.exe
# Test OpenGL backend
RHI_BACKEND=OpenGL ./build/tests/RHI/unit/rhi_unit_tests.exe