1.9 KiB
1.9 KiB
Implementation Plan: Test Suite Stabilization & Consolidation (test_stabilization_20260302)
Phase 1: Infrastructure & Paradigm Consolidation
- Task: Initialize MMA Environment
activate_skill mma-orchestrator - Task: Setup Artifact Isolation Directories
- Create
./tests/artifacts/and./tests/logs/with appropriate.gitignore.
- Create
- Task: Migrate Manual Launchers to
live_guiFixture- Refactor
tests/visual_mma_verification.pyto use thelive_guifixture. - Audit
simulation/andtests/for other manual subprocess launchers and refactor.
- Refactor
- Task: Conductor - User Manual Verification 'Phase 1: Infrastructure & Consolidation' (Protocol in workflow.md)
Phase 2: Asyncio Stabilization & Logging
- Task: Audit and Fix
conftest.pyLoop Lifecycle- Ensure all fixtures correctly handle loop cleanup and task cancellation.
- Task: Resolve
Event loop is closedin Core Test Suite- Update identified files to pass active loops and use
ThreadPoolExecutor.
- Update identified files to pass active loops and use
- Task: Implement Centralized Sectioned Logging Utility
- Task: Conductor - User Manual Verification 'Phase 2: Asyncio & Logging' (Protocol in workflow.md)
Phase 3: Assertion Implementation & Simulation Fixes
- Task: Replace
pytest.failwith Functional Assertions- Focus on
api_events,execution_engine,token_usage, andagent_capabilities.
- Focus on
- Task: Resolve Simulation Entry Count Regressions
- Fix entry count assertions in
test_context_sim_liveand align mocks.
- Fix entry count assertions in
- Task: Conductor - User Manual Verification 'Phase 3: Assertions & Sims' (Protocol in workflow.md)
Phase 4: Final Verification & Artifact Audit
- Task: Full Suite Validation & Warning Cleanup
- Task: Final Artifact Isolation Verification
- Task: Conductor - User Manual Verification 'Phase 4: Final Verification' (Protocol in workflow.md)