1.1 KiB
1.1 KiB
Implementation Plan: Testing & Simulation Consolidation
Architecture reference: docs/guide_simulations.md
Phase 1: Migrate Manual Launchers to Pytest Fixtures
Focus: Remove subprocess.Popen from visual verification scripts and convert them to proper pytest tests.
- Task 1.1: Refactor
tests/visual_mma_verification.pyto be a standard pytest function:def test_visual_mma_verification(live_gui):. Remove allsubprocess.Popenand directory changing logic. - Task 1.2: Audit
tests/for any other file containingsubprocess.Popenpointing togui_2.pyand refactor them similarly.
Phase 2: Consolidate Simulation Scripts
Focus: Ensure the simulation/ directory integrates cleanly with the pytest framework or serves a distinct non-testing purpose.
- Task 2.1: Audit the
simulation/directory. If scripts there are just tests in disguise, move them intotests/and wrap them in thelive_guifixture. If they are intended as standalone interactive demos, clearly document their purpose and ensure they don't duplicateconftest.pylogic unnecessarily.