/devteam-test
**Command:** `/devteam:test [target] [options]`
> /plugin marketplace add michael-harris/devteam > /plugin install devteam@devteam-marketplace
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/devteam-test
Context preview
What this command does when you run it.
**Command:** `/devteam:test [target] [options]`
Command definition
devteam-test.mdDevTeam Test Command
**Command:** `/devteam:test [target] [options]`
Coordinate test writing and execution across the project. Launches the Test Coordinator to orchestrate language-specific test writers and verification agents.
Usage
# Write tests for current task
/devteam:test
# Write tests for specific files
/devteam:test "src/api/auth.ts"
# Write specific test types
/devteam:test --type unit
/devteam:test --type integration
/devteam:test --type e2e
# Write tests for a scope
/devteam:test --scope "src/services/"
# Run existing tests and fill coverage gaps
/devteam:test --coverage
/devteam:test --coverage --threshold 80
# Cost-optimized
/devteam:test --eco
Options
| Option | Description | |--------|-------------| | `--type <type>` | Test type: unit, integration, e2e, all | | `--scope <path>` | Limit to specific files/directories | | `--coverage` | Analyze coverage and fill gaps | | `--threshold <pct>` | Coverage threshold percentage (default: 80) | | `--eco` | Cost-optimized execution |
Your Process
Phase 0: Initialize Session
source scripts/state.sh
source scripts/events.sh
SESSION_ID=$(start_session "/devteam:test $*" "test")
log_session_started "/devteam:test $*" "test"
Phase 1: Launch Test Coordinator
Delegate to the `quality:test-coordinator` agent, which will:
1. Analyze target code to determine test needs 2. Select appropriate test writers based on language 3. Coordinate unit, integration, and e2e test writing 4. Run tests and verify they pass 5. Report coverage metrics
const result = await Task({
subagent_type: "quality:test-coordinator",
prompt: `Test coordination request:
Target: ${target || 'current task files'}
Type: ${type || 'all'}
Scope: ${scope || 'auto-detect'}
Coverage mode: ${coverageMode}
Threshold: ${threshold || 80}
Coordinate test writers to produce:
1. Unit tests for individual functions/methods
2. Integration tests for component interactions
3. E2E tests for critical user flows
4. Edge case and error handling tests
5. Coverage report and gap analysis`
})Phase 2: Verification
- Run all generated tests
- Verify tests pass
- Check coverage meets threshold
- Report any flaky tests
Phase 3: Completion
log_session_ended('completed', 'Test writing complete')
end_session('completed', 'Success')See Also
- `/devteam:review` - Code review before testing
- `/devteam:implement` - Implement features to test
- `/devteam:status` - Check test progress
Read more
DevTeam Test Command
**Command:** `/devteam:test [target] [options]`
Coordinate test writing and execution across the project. Launches the Test Coordinator to orchestrate language-specific test writers and verification agents.
Usage
# Write tests for current task /devteam:test # Write tests for specific files /devteam:test "src/api/auth.ts" # Write specific test types /devteam:test --type unit /devteam:test --type integration /devteam:test --type e2e # Write tests for a scope /devteam:test --scope "src/services/" # Run existing tests and fill coverage gaps /devteam:test --coverage /devteam:test --coverage --threshold 80 # Cost-optimized /devteam:test --eco
Options
| Option | Description | |--------|-------------| | `--type <type>` | Test type: unit, integration, e2e, all | | `--scope <path>` | Limit to specific files/directories | | `--coverage` | Analyze coverage and fill gaps | | `--threshold <pct>` | Coverage threshold percentage (default: 80) | | `--eco` | Cost-optimized execution |
Your Process
Phase 0: Initialize Session
source scripts/state.sh source scripts/events.sh SESSION_ID=$(start_session "/devteam:test $*" "test") log_session_started "/devteam:test $*" "test"
Phase 1: Launch Test Coordinator
Delegate to the `quality:test-coordinator` agent, which will:
1. Analyze target code to determine test needs 2. Select appropriate test writers based on language 3. Coordinate unit, integration, and e2e test writing 4. Run tests and verify they pass 5. Report coverage metrics
const result = await Task({
subagent_type: "quality:test-coordinator",
prompt: `Test coordination request:
Target: ${target || 'current task files'}
Type: ${type || 'all'}
Scope: ${scope || 'auto-detect'}
Coverage mode: ${coverageMode}
Threshold: ${threshold || 80}
Coordinate test writers to produce:
1. Unit tests for individual functions/methods
2. Integration tests for component interactions
3. E2E tests for critical user flows
4. Edge case and error handling tests
5. Coverage report and gap analysis`
})Phase 2: Verification
- Run all generated tests
- Verify tests pass
- Check coverage meets threshold
- Report any flaky tests
Phase 3: Completion
log_session_ended('completed', 'Test writing complete')
end_session('completed', 'Success')See Also
- `/devteam:review` - Code review before testing
- `/devteam:implement` - Implement features to test
- `/devteam:status` - Check test progress
A Claude Code plugin providing 127 specialized AI agents with: Interview-driven planning - Clarify requirements before work begins Codebase research - Investigate patterns and blockers before implementation SQLite state management - Reliable session tracking
Repo: michael-harris/devteam
Other commands on michael-harris-devteam.
devteam-design-drift
**Command:** `/devteam:design-drift [scope] [options]`

