/aqe-execute
Execute test suites with parallel orchestration, retry logic, and real-time reporting
> /plugin marketplace add proffesor-for-testing/agentic-qe > /plugin install agentic-qe-fleet@agentic-qe
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
/aqe-execute
Context preview
What this command does when you run it.
Execute test suites with parallel orchestration, retry logic, and real-time reporting
Command definition
aqe-execute.mdname: aqe-execute
description: Execute test suites with parallel orchestration, retry logic, and real-time reporting
AQE Execute Tests
Execute test suites with parallel orchestration, retry logic, and real-time reporting.
Usage
aqe run [suite] [options]
# or
/aqe-execute [suite] [options]
Options
| Option | Type | Default | Description | |--------|------|---------|-------------| | `suite` | path | `./tests` | Test suite path or pattern | | `--framework` | string | `auto-detect` | Testing framework to use | | `--parallel` | number | `auto` | Parallel worker count (auto = CPU cores) | | `--coverage` | boolean | `true` | Collect coverage data | | `--retry` | number | `2` | Retry count for flaky tests | | `--timeout` | number | `30000` | Test timeout in milliseconds | | `--bail` | boolean | `false` | Stop on first failure | | `--watch` | boolean | `false` | Watch mode for continuous testing | | `--reporter` | string | `default` | Reporter: default, json, html, junit | | `--filter` | string | - | Test pattern filter (regex) |
Examples
Run All Tests
aqe run
Executes all tests in the default test directory with auto-detected framework.
Run Specific Suite in Parallel
aqe run tests/integration --parallel 8 --coverage
Runs integration tests with 8 parallel workers and coverage collection.
Watch Mode for TDD
aqe run tests/unit --watch --bail
Runs tests in watch mode, stopping on first failure for rapid TDD feedback.
CI/CD Execution
aqe run --reporter junit --bail --no-coverage
Optimized for CI/CD with JUnit reporting and no coverage overhead.
Filtered Test Execution
aqe run --filter "user.*test" --parallel 4
Runs only tests matching the regex pattern with parallel execution.
Integration with Claude Code
Spawning Test Executor Agent
// Use Claude Code's Task tool to spawn the test executor agent
Task("Execute comprehensive test suite", `
Run all tests with the following configuration:
- Parallel workers: 8
- Coverage: enabled
- Retry flaky tests: 2 attempts
- Reporter: JSON for CI integration
Monitor real-time progress and report failures immediately.
Store execution results in memory: aqe/execution/results/{run-id}
`, "qe-test-executor")Coordinated Execution Workflow
// Execute tests and coordinate with analyzer
[Single Message]:
Task("Execute test suite", "Run all unit tests with coverage", "qe-test-executor")
Task("Analyze coverage", "Real-time coverage gap detection", "qe-coverage-analyzer")
TodoWrite({ todos: [
{content: "Execute all unit tests", status: "in_progress", activeForm: "Executing tests"},
{content: "Monitor coverage in real-time", status: "in_progress", activeForm: "Monitoring coverage"},
{content: "Analyze test failures", status: "pending", activeForm: "Analyzing failures"},
{content: "Generate execution report", status: "pending", activeForm: "Generating report"}
]})Agent Coordination
Primary Agent
- **qe-test-executor**: Main agent responsible for test execution orchestration
Supporting Agents
- **qe-coverage-analyzer**: Real-time coverage tracking
- **qe-performance-tester**: Performance monitoring during execution
Coordination Flow
1. Pre-Task Hook
├─> Retrieve test suite metadata
├─> Retrieve flaky test data for retry logic
├─> Auto-detect framework if not specified
└─> Calculate optimal worker count
2. Test Execution
├─> Spawn parallel workers
├─> Execute tests with real-time reporting
├─> Collect coverage data
├─> Retry flaky tests automatically
└─> Track performance metrics
3. Post-Task Hook
├─> Store execution results
├─> Update coverage data
├─> Identify new flaky tests
├─> Train neural patterns
└─> Notify fleet of completion
Memory Operations
Input Memory Keys
# Retrieve test suite metadata
npx claude-flow@alpha memory retrieve --key "aqe/test-suite/${suite}"
# Retrieve flaky test data
npx claude-flow@alpha memory retrieve --key "aqe/flaky-tests"
# Retrieve execution configuration
npx claude-flow@alpha memory retrieve --key "aqe/execution-config"Output Memory Keys
# Store execution results
npx claude-flow@alpha memory store \
--key "aqe/execution/results/${run_id}" \
--value '{"numTotalTests": 120, "numPassedTests": 118, "numFailedTests": 2}'
# Update current coverage
npx claude-flow@alpha memory store \
--key "aqe/coverage/current" \
--value '{"pct": 94.5}'
# Store test failures
npx claude-flow@alpha memory store \
--key "aqe/test-failures" \
--value '[{"test": "user-auth-test", "error": "timeout"}]'Hooks and Coordination
Pre-Task Hook
npx claude-flow@alpha hooks pre-task \
--description "Execute test suite: ${suite}" \
--agent "qe-test-executor"During Execution (real-time updates)
# Notify fleet of progress
npx claude-flow@alpha hooks notify \
--message "Executing: ${TEST_FILE} (${CURRENT}/${TOTAL})"Post-Task Hook
npx claude-flow@alpha hooks post-task \
--task-id "${RUN_ID}" \
--results "${EXECUTION_RESULTS}"Expected Outputs
Success Output
🧪 Executing test suite: ./tests
📦 Auto-detected framework: jest
⚡ Using 8 parallel workers
🚀 Starting test execution...
Running tests:
✓ tests/unit/user-service.test.ts (12 tests)
✓ tests/unit/auth-service.test.ts (8 tests)
✓ tests/integration/api.test.ts (15 tests)
📊 Execution Summary:
Total: 120
Passed: 120
Failed: 0
Coverage: 94.5%
Duration: 12.3s
✅ All tests passed!
Failure Output
🧪 Executing test suite: ./tests
🚀 Starting test execution...
Running tests:
✓ tests/unit/user-service.test.ts (12 tests)
✗ tests/unit/auth-service.test.ts (8 tests, 2 failed)
✓ tests/integration/api.test.ts (15 tests)
❌ Failed Tests:
1. auth-service.test.ts:45 - Tok
Read more
name: aqe-execute description: Execute test suites with parallel orchestration, retry logic, and real-time reporting
AQE Execute Tests
Execute test suites with parallel orchestration, retry logic, and real-time reporting.
Usage
aqe run [suite] [options] # or /aqe-execute [suite] [options]
Options
| Option | Type | Default | Description | |--------|------|---------|-------------| | `suite` | path | `./tests` | Test suite path or pattern | | `--framework` | string | `auto-detect` | Testing framework to use | | `--parallel` | number | `auto` | Parallel worker count (auto = CPU cores) | | `--coverage` | boolean | `true` | Collect coverage data | | `--retry` | number | `2` | Retry count for flaky tests | | `--timeout` | number | `30000` | Test timeout in milliseconds | | `--bail` | boolean | `false` | Stop on first failure | | `--watch` | boolean | `false` | Watch mode for continuous testing | | `--reporter` | string | `default` | Reporter: default, json, html, junit | | `--filter` | string | - | Test pattern filter (regex) |
Examples
Run All Tests
aqe run
Executes all tests in the default test directory with auto-detected framework.
Run Specific Suite in Parallel
aqe run tests/integration --parallel 8 --coverage
Runs integration tests with 8 parallel workers and coverage collection.
Watch Mode for TDD
aqe run tests/unit --watch --bail
Runs tests in watch mode, stopping on first failure for rapid TDD feedback.
CI/CD Execution
aqe run --reporter junit --bail --no-coverage
Optimized for CI/CD with JUnit reporting and no coverage overhead.
Filtered Test Execution
aqe run --filter "user.*test" --parallel 4
Runs only tests matching the regex pattern with parallel execution.
Integration with Claude Code
Spawning Test Executor Agent
// Use Claude Code's Task tool to spawn the test executor agent
Task("Execute comprehensive test suite", `
Run all tests with the following configuration:
- Parallel workers: 8
- Coverage: enabled
- Retry flaky tests: 2 attempts
- Reporter: JSON for CI integration
Monitor real-time progress and report failures immediately.
Store execution results in memory: aqe/execution/results/{run-id}
`, "qe-test-executor")Coordinated Execution Workflow
// Execute tests and coordinate with analyzer
[Single Message]:
Task("Execute test suite", "Run all unit tests with coverage", "qe-test-executor")
Task("Analyze coverage", "Real-time coverage gap detection", "qe-coverage-analyzer")
TodoWrite({ todos: [
{content: "Execute all unit tests", status: "in_progress", activeForm: "Executing tests"},
{content: "Monitor coverage in real-time", status: "in_progress", activeForm: "Monitoring coverage"},
{content: "Analyze test failures", status: "pending", activeForm: "Analyzing failures"},
{content: "Generate execution report", status: "pending", activeForm: "Generating report"}
]})Agent Coordination
Primary Agent
- **qe-test-executor**: Main agent responsible for test execution orchestration
Supporting Agents
- **qe-coverage-analyzer**: Real-time coverage tracking
- **qe-performance-tester**: Performance monitoring during execution
Coordination Flow
1. Pre-Task Hook ├─> Retrieve test suite metadata ├─> Retrieve flaky test data for retry logic ├─> Auto-detect framework if not specified └─> Calculate optimal worker count 2. Test Execution ├─> Spawn parallel workers ├─> Execute tests with real-time reporting ├─> Collect coverage data ├─> Retry flaky tests automatically └─> Track performance metrics 3. Post-Task Hook ├─> Store execution results ├─> Update coverage data ├─> Identify new flaky tests ├─> Train neural patterns └─> Notify fleet of completion
Memory Operations
Input Memory Keys
# Retrieve test suite metadata
npx claude-flow@alpha memory retrieve --key "aqe/test-suite/${suite}"
# Retrieve flaky test data
npx claude-flow@alpha memory retrieve --key "aqe/flaky-tests"
# Retrieve execution configuration
npx claude-flow@alpha memory retrieve --key "aqe/execution-config"Output Memory Keys
# Store execution results
npx claude-flow@alpha memory store \
--key "aqe/execution/results/${run_id}" \
--value '{"numTotalTests": 120, "numPassedTests": 118, "numFailedTests": 2}'
# Update current coverage
npx claude-flow@alpha memory store \
--key "aqe/coverage/current" \
--value '{"pct": 94.5}'
# Store test failures
npx claude-flow@alpha memory store \
--key "aqe/test-failures" \
--value '[{"test": "user-auth-test", "error": "timeout"}]'Hooks and Coordination
Pre-Task Hook
npx claude-flow@alpha hooks pre-task \
--description "Execute test suite: ${suite}" \
--agent "qe-test-executor"During Execution (real-time updates)
# Notify fleet of progress
npx claude-flow@alpha hooks notify \
--message "Executing: ${TEST_FILE} (${CURRENT}/${TOTAL})"Post-Task Hook
npx claude-flow@alpha hooks post-task \
--task-id "${RUN_ID}" \
--results "${EXECUTION_RESULTS}"Expected Outputs
Success Output
🧪 Executing test suite: ./tests 📦 Auto-detected framework: jest ⚡ Using 8 parallel workers 🚀 Starting test execution... Running tests: ✓ tests/unit/user-service.test.ts (12 tests) ✓ tests/unit/auth-service.test.ts (8 tests) ✓ tests/integration/api.test.ts (15 tests) 📊 Execution Summary: Total: 120 Passed: 120 Failed: 0 Coverage: 94.5% Duration: 12.3s ✅ All tests passed!
Failure Output
🧪 Executing test suite: ./tests 🚀 Starting test execution... Running tests: ✓ tests/unit/user-service.test.ts (12 tests) ✗ tests/unit/auth-service.test.ts (8 tests, 2 failed) ✓ tests/integration/api.test.ts (15 tests) ❌ Failed Tests: 1. auth-service.test.ts:45 - Tok
AI-powered quality engineering agents that generate tests, find coverage gaps, detect flaky tests, and learn your codebase patterns — across 11 coding agent platforms.
Repo: proffesor-for-testing/agentic-qe
Other commands on agentic-qe.
- /agent-capabilities
Capability matrix for all agent types
Open command - /agent-coordination
Coordination patterns for multi-agent collaboration.
Open command - /agent-spawning
Guide to spawning agents with Claude Code's Task tool.
Open command - /agent-types
Complete guide to all 87 available agent types in Claude Flow V3
Open command - /health
Show agent health and metrics
Open command - /list
List all active agents
Open command

