Skip to content

[Testing] Test Suite Overhaul - Epic #209

@itomek-amd

Description

@itomek-amd

Overview

Comprehensive test suite improvement using parallel development strategy. Build new tests_v2/ directory with improved structure while keeping existing tests/ intact, then cut over when complete.

Strategy

Parallel Development with Clean Cutover:

  1. Keep tests/ intact - existing tests continue running in CI
  2. Create tests_v2/ - new directory with improved structure
  3. Incremental PRs - each sub-issue adds to tests_v2/
  4. Final cutover PR - switch CI, remove old tests/, rename tests_v2/tests/

Benefits

  • Zero disruption to existing CI
  • Small, reviewable PRs
  • Safe rollback if issues arise
  • Clear before/after comparison

Sub-Issues

Acceptance Criteria

  • All sub-issues completed
  • tests_v2/ has equivalent or better coverage than tests/
  • All 218+ existing test behaviors preserved
  • CI successfully switched to new test structure
  • Coverage threshold ≥15%
  • Anti-patterns fixed:
    • 13 _TOOL_REGISTRY.clear() calls removed
    • Hardcoded ports replaced with dynamic allocation
    • Proper pytest fixtures implemented

Related

Plan Document

Full implementation plan: docs/plans/testing.mdx

Metadata

Metadata

Labels

enhancementNew feature or requesttestsTest changes

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions