Development
Command
/testing
Comprehensive testing through distributed execution.
Install
$ npx -y skills add ruvnet/agentic-flow --agent claude-codeHow 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
/testing
Context preview
What this command does when you run it.
Comprehensive testing through distributed execution.
Command definition
testing.mdTesting Swarm Strategy
Purpose
Comprehensive testing through distributed execution.
Activation
Using MCP Tools
// Initialize testing swarm
mcp__claude-flow__swarm_init({
"topology": "star",
"maxAgents": 7,
"strategy": "parallel"
})
// Orchestrate testing task
mcp__claude-flow__task_orchestrate({
"task": "test application",
"strategy": "parallel",
"priority": "high"
})Using CLI (Fallback)
`npx claude-flow swarm "test application" --strategy testing`
Agent Roles
Agent Spawning with MCP
// Spawn testing agents
mcp__claude-flow__agent_spawn({
"type": "tester",
"name": "Unit Tester",
"capabilities": ["unit-testing", "mocking", "coverage"]
})
mcp__claude-flow__agent_spawn({
"type": "tester",
"name": "Integration Tester",
"capabilities": ["integration", "api-testing", "contract-testing"]
})
mcp__claude-flow__agent_spawn({
"type": "tester",
"name": "E2E Tester",
"capabilities": ["e2e", "ui-testing", "user-flows"]
})
mcp__claude-flow__agent_spawn({
"type": "tester",
"name": "Performance Tester",
"capabilities": ["load-testing", "stress-testing", "benchmarking"]
})
mcp__claude-flow__agent_spawn({
"type": "monitor",
"name": "Security Tester",
"capabilities": ["security-testing", "penetration-testing", "vulnerability-scanning"]
})Test Coverage
Coverage Analysis
// Quality assessment
mcp__claude-flow__quality_assess({
"target": "test-coverage",
"criteria": ["line-coverage", "branch-coverage", "function-coverage"]
})
// Edge case detection
mcp__claude-flow__pattern_recognize({
"data": testScenarios,
"patterns": ["edge-case", "boundary-condition", "error-path"]
})Test Execution
// Parallel test execution
mcp__claude-flow__parallel_execute({
"tasks": [
{ "id": "unit-tests", "command": "npm run test:unit" },
{ "id": "integration-tests", "command": "npm run test:integration" },
{ "id": "e2e-tests", "command": "npm run test:e2e" }
]
})
// Batch processing for test suites
mcp__claude-flow__batch_process({
"items": testSuites,
"operation": "execute-test-suite"
})Performance Testing
// Run performance benchmarks
mcp__claude-flow__benchmark_run({
"suite": "performance-tests"
})
// Security scanning
mcp__claude-flow__security_scan({
"target": "application",
"depth": "comprehensive"
})Monitoring and Reporting
// Monitor test execution
mcp__claude-flow__swarm_monitor({
"swarmId": "testing-swarm",
"interval": 2000
})
// Generate test report
mcp__claude-flow__performance_report({
"format": "detailed",
"timeframe": "current-run"
})
// Get test results
mcp__claude-flow__task_results({
"taskId": "test-execution-001"
})Read more
Testing Swarm Strategy
Purpose
Comprehensive testing through distributed execution.
Activation
Using MCP Tools
// Initialize testing swarm
mcp__claude-flow__swarm_init({
"topology": "star",
"maxAgents": 7,
"strategy": "parallel"
})
// Orchestrate testing task
mcp__claude-flow__task_orchestrate({
"task": "test application",
"strategy": "parallel",
"priority": "high"
})Using CLI (Fallback)
`npx claude-flow swarm "test application" --strategy testing`
Agent Roles
Agent Spawning with MCP
// Spawn testing agents
mcp__claude-flow__agent_spawn({
"type": "tester",
"name": "Unit Tester",
"capabilities": ["unit-testing", "mocking", "coverage"]
})
mcp__claude-flow__agent_spawn({
"type": "tester",
"name": "Integration Tester",
"capabilities": ["integration", "api-testing", "contract-testing"]
})
mcp__claude-flow__agent_spawn({
"type": "tester",
"name": "E2E Tester",
"capabilities": ["e2e", "ui-testing", "user-flows"]
})
mcp__claude-flow__agent_spawn({
"type": "tester",
"name": "Performance Tester",
"capabilities": ["load-testing", "stress-testing", "benchmarking"]
})
mcp__claude-flow__agent_spawn({
"type": "monitor",
"name": "Security Tester",
"capabilities": ["security-testing", "penetration-testing", "vulnerability-scanning"]
})Test Coverage
Coverage Analysis
// Quality assessment
mcp__claude-flow__quality_assess({
"target": "test-coverage",
"criteria": ["line-coverage", "branch-coverage", "function-coverage"]
})
// Edge case detection
mcp__claude-flow__pattern_recognize({
"data": testScenarios,
"patterns": ["edge-case", "boundary-condition", "error-path"]
})Test Execution
// Parallel test execution
mcp__claude-flow__parallel_execute({
"tasks": [
{ "id": "unit-tests", "command": "npm run test:unit" },
{ "id": "integration-tests", "command": "npm run test:integration" },
{ "id": "e2e-tests", "command": "npm run test:e2e" }
]
})
// Batch processing for test suites
mcp__claude-flow__batch_process({
"items": testSuites,
"operation": "execute-test-suite"
})Performance Testing
// Run performance benchmarks
mcp__claude-flow__benchmark_run({
"suite": "performance-tests"
})
// Security scanning
mcp__claude-flow__security_scan({
"target": "application",
"depth": "comprehensive"
})Monitoring and Reporting
// Monitor test execution
mcp__claude-flow__swarm_monitor({
"swarmId": "testing-swarm",
"interval": 2000
})
// Generate test report
mcp__claude-flow__performance_report({
"format": "detailed",
"timeframe": "current-run"
})
// Get test results
mcp__claude-flow__task_results({
"taskId": "test-execution-001"
}) Ships withagentic-flow
Production-ready AI agent orchestration with 66 self-learning agents, 213 MCP tools, and autonomous multi-agent swarms.
Get the whole plugin
Stats
809
Stars
174
Forks
Active
Maintenance
TypeScript
Language
1d ago
Last commit
2y ago
Created
Repo: ruvnet/agentic-flow
Other commands on agentic-flow.
Command
Command
Command
Command
Command
COMMAND_COMPLIANCE_REP…
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools (preferred) - `npx claude-flow`…
Command
bottleneck-detect
Analyze performance bottlenecks in swarm operations and suggest optimizations.

