1.8 KiB
1.8 KiB
Implementation Plan: Live GUI Testing Infrastructure
Phase 1: Infrastructure & Core Utilities [checkpoint: db251a1]
Establish the mechanism for managing the live GUI process and providing it to tests.
- Task: Create
tests/conftest.pywith a session-scoped fixture to manage thegui.py --enable-test-hooksprocess. - Task: Enhance
api_hook_client.pywith robust connection retries and health checks to handle GUI startup time. - Task: Update
conductor/workflow.mdto formally document the "Live GUI Testing" requirement and the use of the--enable-test-hooksflag. - Task: Conductor - User Manual Verification 'Phase 1: Infrastructure & Core Utilities' (Protocol in workflow.md)
Phase 2: Test Suite Migration [checkpoint: 6677a6e]
Migrate existing tests to use the live GUI fixture and API hooks.
- Task: Refactor
tests/test_api_hook_client.pyandtests/test_conductor_api_hook_integration.pyto use the live GUI fixture. - Task: Refactor GUI performance tests (
tests/test_gui_performance_requirements.py,tests/test_gui_stress_performance.py) to verify real metrics (FPS, memory) via hooks. - Task: Audit and update all remaining tests in
tests/to ensure they either use the live server or are explicitly marked as pure unit tests. - Task: Conductor - User Manual Verification 'Phase 2: Test Suite Migration' (Protocol in workflow.md)
Phase 3: Conductor Integration & Validation
Ensure the Conductor framework itself supports and enforces this new testing paradigm.
- Task: Verify that new track creation generates plans that include specific API hook verification tasks.
- [~] Task: Perform a full test run using
run_tests.py(or equivalent) to ensure 100% pass rate in the new environment. - Task: Conductor - User Manual Verification 'Phase 3: Conductor Integration & Validation' (Protocol in workflow.md)