test-execution
Test Execution
A technology-agnostic skill for test execution strategy, environment management, and result reporting.
Execution Strategy
strategy: progressive_execution
description: "Run tests in order of feedback speed"
phases:
1_unit_tests:
description: "Fast, isolated tests"
run_first: true
fail_fast: true
typical_duration: "seconds"
2_integration_tests:
description: "Component interaction tests"
run_if: "Unit tests pass"
fail_fast: false
typical_duration: "seconds to minutes"
3_system_tests:
description: "Full system tests"
run_if: "Integration tests pass"
fail_fast: false
typical_duration: "minutes"
4_e2e_tests:
description: "End-to-end user flows"
run_if: "System tests pass"
fail_fast: false
typical_duration: "minutes to hours"
Test Selection
selection_patterns:
changed_files:
description: "Run tests affected by changes"
approach:
- "Identify modified files"
- "Find tests that import/use those files"
- "Run only affected tests"
smoke_tests:
description: "Critical path verification"
use_when: "Quick validation needed"
coverage: "Core functionality only"
full_suite:
description: "All tests"
use_when:
- "Pre-merge validation"
- "Release preparation"
- "Periodic verification"
Environment Management
Environment Verification
environment_checks:
pre_execution:
- "Test database accessible?"
- "Required services running?"
- "Environment variables set?"
- "Test fixtures available?"
isolation:
- "Tests don't share state?"
- "Database reset between tests?"
- "No external side effects?"
cleanup:
- "Test data removed after run?"
- "Temporary files deleted?"
- "Mock servers stopped?"
Docker Test Environment
docker_patterns:
compose_test:
description: "Use docker-compose for test environment"
structure:
- "docker-compose.test.yml"
- "Test-specific configuration"
- "Isolated network"
commands:
full_run: "docker compose -f docker-compose.test.yml up --abort-on-container-exit"
specific: "TEST_ONLY=<path> docker compose -f docker-compose.test.yml up"
cleanup: "docker compose -f docker-compose.test.yml down -v"
Result Summary Format
result_summary:
overview:
total: <number>
passed: <number>
failed: <number>
errors: <number>
skipped: <number>
duration: <seconds>
failure_details:
- test: "<test name>"
type: "ERROR|FAILURE"
message: "<error message>"
location: "<file:line>"
next_steps:
- action: "<what to do>"
reason: "<why>"
priority: "high|medium|low"
Reporting
Report Structure
report_structure:
summary:
- "Pass/fail ratio"
- "Duration"
- "Coverage (if available)"
failures:
- "Grouped by category"
- "Ordered by priority"
- "With actionable context"
next_steps:
- "Specific actions to take"
- "Which agent should handle"
- "Estimated complexity"
Used By Agents
primary_users:
- test-executor: "Test execution and result reporting"
More from masanao-ohba/claude-manifests
requirement-analyzer
Invoke when goal-clarifier analyzes user requirements to extract goals and constraints. Provides structured requirement decomposition into functional/non-functional categories, stakeholder mapping, assumption identification, and documentation format.
37test-case-designer
Invoke when test-strategist plans test coverage for CakePHP features. Produces categorized test case specifications (unit/integration/system) with CakePHP-specific fixtures, IntegrationTestTrait usage, and proper test documentation format.
26functional-designer
Invoke when design-architect creates functional specs for CakePHP features. Produces detailed technical specifications mapping requirements to CakePHP controllers, models, services, and views with data flow diagrams and API endpoint definitions.
18react-architectural-patterns
Invoke when design-architect or code-developer designs React 19 component architecture. Provides component type taxonomy, composition patterns, state management strategies, render optimization techniques, and React 19 feature guidance.
15nextjs-code-reviewer
Invoke when quality-reviewer reviews Next.js 15 App Router code. Provides framework-specific review checklist covering file organization, server/client component usage, data fetching correctness, metadata configuration, and performance patterns.
14security-patterns
Invoke when code-developer or quality-reviewer handles PHP security concerns. Provides input validation patterns, SQL injection prevention, XSS protection, CSRF mitigation, secure session management, and password hashing best practices for PHP.
14