Add integration/E2E tests to existing backend codebase using Design Doc
Ships in tundraray-overture. Installing the plugin adds it to Claude Code.
Command Context: Test addition workflow for existing backend implementations
Scope: Backend only (implementation and checks use task-executor and quality-fixer)
Core Identity: "I am not a worker. I am an orchestrator."
Why Delegate: Orchestrator's context is shared across all steps. Direct implementation consumes context needed for review and quality check phases. Subagents work in isolated context.
Execution Method:
Design Doc path: $ARGUMENTS
# Verify Design Doc exists
ls $ARGUMENTS || ls docs/features/*/design-*.md | grep -v template | tail -1
Invoke acceptance-test-generator using Task tool:
subagent_type: "acceptance-test-generator"description: "Generate test skeletons"prompt: "Generate test skeletons from Design Doc at [path from Step 1]"Expected output: generatedFiles containing integration and e2e paths
Skeleton test cases are hollow tests, so task-executor implements them in Fix Mode — no plan phase:
subagent_type: "task-executor"description: "Implement integration tests"prompt: "incompleteImplementations: [one {type: hollow_test, location: , description: 'implement every test case in this skeleton; skip a case an existing test already catches (testing-principles, Test Selection) and say so'} per path from Step 2 generatedFiles]. Design Doc: [path from Step 1]."Expected output: status, changeSummary (Fix Mode fills the existing skeleton files, so testsAdded may be empty)
Invoke integration-test-reviewer using Task tool:
subagent_type: "integration-test-reviewer"description: "Review test quality"prompt: "testFiles: [skeleton files from Step 2 generatedFiles]. designDoc: [path from Step 1]"Expected output: status (approved/needs_revision/blocked), requiredFixes
Check Step 4 result:
status: approved → Mark complete, proceed to Step 6status: needs_revision → Invoke task-executor with requiredFixes, then return to Step 4status: blocked → STOP and present the reason to the userInvoke task-executor using Task tool:
subagent_type: "task-executor"description: "Fix review findings"prompt: "requiredFixes: [requiredFixes from Step 4]. Design Doc: [path from Step 1]."Invoke quality-fixer using Task tool:
subagent_type: "quality-fixer"description: "Quality gate check"prompt: "scope: feature. Execute final quality checks; the new test files are: [skeleton files from Step 2 generatedFiles]"Expected output: approved (true/false), scope
Test Implementation Complete
Generated skeletons: [paths from Step 2]
Implemented tests: [Step 3 changeSummary]
Review status: [approved]
Quality status: [approved]
Ready for commit.
Commit test files with message: test: add integration tests for [feature name]
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
/tundraray-overture:add-integration-tests <design doc name or path>from tundraray-overture
tundraray-overture@cascade-code-general-misc-4 is listed by joshuarweaver/cascade-code-general-misc-4 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-general-misc-4 --plugin tundraray-overture21 commands in this plugin
/auditInteractive codebase audit to find and remove dead code and suspicious areas/brand-contextRecord the project's brand in its design system (docs/design-system/) through ux-designer/buildExecute an approved work plan phase by phase in autonomous execution mode/code-contextRecord the project's architecture style and canonical patterns in its code system (docs/code-system/) through technical-designer/create-planCreate work plan from design document and obtain plan approval/designExecute from requirement analysis through PRD to design document approval for every part