-
Notifications
You must be signed in to change notification settings - Fork 67
Open
0 / 80 of 8 issues completedLabels
Milestone
Description
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:
- Keep
tests/intact - existing tests continue running in CI - Create
tests_v2/- new directory with improved structure - Incremental PRs - each sub-issue adds to
tests_v2/ - Final cutover PR - switch CI, remove old
tests/, renametests_v2/→tests/
Benefits
- Zero disruption to existing CI
- Small, reviewable PRs
- Safe rollback if issues arise
- Clear before/after comparison
Sub-Issues
- [Testing] CLI Command Test Coverage + tests_v2 Foundation #239 - CLI Command Test Coverage + tests_v2 Foundation
- [Testing] Import Manifest System #240 - Import Manifest System
- [Testing] Core SDK Tests Migration #241 - Core SDK Tests Migration
- [Testing] Agent Tests Migration #242 - Agent Tests Migration
- [Testing] MCP Tests Migration #243 - MCP Tests Migration
- [Testing] Documentation Code Validation #244 - Documentation Code Validation
- [Testing] Final Verification Before Cutover #245 - Final Verification Before Cutover
- [Testing] CI Cutover - Switch to New Test Structure #246 - CI Cutover (FINAL)
Acceptance Criteria
- All sub-issues completed
-
tests_v2/has equivalent or better coverage thantests/ - 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
- 13
Related
- Documentation Review Tracking #173 - Documentation Review Tracking
- [Bug] Chat command doesn't find indexed documents + documentation gaps #207 - Chat/RAG bug fix
Plan Document
Full implementation plan: docs/plans/testing.mdx
Reactions are currently unavailable