Create comprehensive test plan and test cases for a beads ticket
Creates comprehensive test plans with detailed test cases for beads tickets.
/plugin marketplace add ivankristianto/k2-dev/plugin install k2-dev@k2-dev-marketplacebeads-123Invoke Test Planning skill to create comprehensive test plan with test cases for a beads ticket.
1. Parse ticket ID (ask if not provided: "Which ticket would you like to create a test plan for?")
2. Validate: bd show {ticket-id} → verify exists. Warn if closed but continue (retrospective testing OK).
3. Invoke Test Planning skill:
Skill tool with:
- skill: "k2-dev:test-planning"
- args: "Create comprehensive test plan for ticket beads-{ticket-id}"
4. Skill executes workflow in main context:
# Test Plan: {ticket-id} - {title}
## Test Strategy
**Scope:** {what tested} | **Approach:** {test types} | **Coverage Goal:** {target}
## Test Cases
### TC-001: {Scenario}
**Type:** Unit/Integration/E2E | **Priority:** Critical/High/Medium/Low
**Preconditions:** {setup}
**Steps:** 1. {action} 2. {action}
**Expected Result:** {outcome}
[repeat for each case]
## Coverage Matrix
| Requirement | Test Cases | Status |
|-------------|------------|--------|
| {req-1} | TC-001,002 | ✓ |
## Testing Notes
{considerations, test data, environment needs}
## Recommended Tools
{framework, additional tools}
Test Planning skill references: AGENTS.md (testing standards), CLAUDE.md, constitution.md
/k2:test beads-123 # create test plan
/tester beads-123 # alias (direct skill invocation)
✅ Strategy documented → ✅ Test cases defined → ✅ Coverage analyzed → ✅ Plan in beads → ✅ Follow-ups created
Present summary: test count by type, coverage areas, priority breakdown, next steps for implementation