adhoc-flow
Workflow for the rest of tasks: lightweight documentation, build, track, synchronize, etc.
Phase 3 Testing (optional) of modernization-flow
> /plugin marketplace add griddynamics/rosetta > /plugin install rosetta@rosetta
How it fires
How this command gets triggered: by you, by Claude, or both.
/modernization-flow-testingContext preview
What this command does when you run it.
Phase 3 Testing (optional) of modernization-flow
name: modernization-flow-testing description: "Phase 3 Testing (optional) of modernization-flow" alwaysApply: false disable-model-invocation: true user-invocable: false baseSchema: docs/schemas/phase.md
**Phase 3: Test Coverage (OPTIONAL - Execute only when explicitly requested)** 1. Complete Phase 2 first 2. Analyze existing test coverage 3. Identify gaps in test coverage 4. Create unit tests for uncovered code 5. Achieve 80% code coverage target 6. Document test approach and coverage 7. Integration tests are preferred
**PREREQUISITES:** Complete Phase 2 (all original code specs created)
**THIS PHASE IS OPTIONAL** - Only execute when explicitly requested in the modernization context or by user.
**OBJECTIVES:**
Focus on testing in this order: 1. **Public APIs** - All public methods and interfaces 2. **Critical Business Logic** - Core functionality and calculations 3. **Edge Cases** - Boundary conditions, null handling, error conditions 4. **Integration Points** - Service calls, database operations, external dependencies
For each project: 1. Run coverage tools to establish baseline 2. Identify files/classes with <80% coverage 3. Analyze which code paths are missing tests 4. Prioritize based on criticality and complexity 5. Create tests to fill gaps 6. Re-run coverage to verify 80% target achieved
Create `docs/original-test-coverage-<lib/project>.md` for each project including:
1. **Coverage Summary**
2. **Test Approach**
3. **Coverage Gaps**
4. **Test Organization**
MUST spawn separate subagent to validate grounding, truthfulness, gaps, consistency, reasoning, and overall completion of the phase.
Before proceeding to Phase 4:
**DEPENDENTS:** Phase 4 (Class Group Analysis) depends on completion of this phase (if executed)
Repo: griddynamics/rosetta
Workflow for the rest of tasks: lightweight documentation, build, track, synchronize, etc.
Phase 6 Execution & Report Analysis of api-aqa-flow (USER INTERACTION REQUIRED)
Phase 3 Gap & Requirements Clarification of api-aqa-flow (USER INTERACTION REQUIRED)
Phase 0 Project Config Loading of api-aqa-flow (USER INTERACTION CONDITIONALLY REQUIRED)