Create Test Strategy Command
Generate a comprehensive test strategy document tailored to the project.
Process
Step 1: Gather Context
If project context is provided in arguments, use it. Otherwise:
Look for existing documentation:
-
Requirements documents
-
Architecture documents
-
Existing test plans
-
Risk assessments
Identify project characteristics:
-
Technology stack (.NET, React, etc.)
-
Architecture style (monolith, microservices)
-
Deployment model (cloud, on-prem)
-
Team size and structure
Step 2: Load Skills
Invoke the test-strategy:test-strategy-planning skill for IEEE 829 templates and guidance.
Step 3: Spawn Strategy Agent
Delegate to the test-strategist agent:
Analyze the project context and create a comprehensive test strategy document.
Project Context: [Gathered context]
Requirements:
- Follow IEEE 829 structure
- Include specific test level recommendations
- Define measurable entry/exit criteria
- Address identified risks
- Recommend appropriate tools for the tech stack
Step 4: Review and Validate
Ensure the strategy includes:
-
Clear scope definition (in/out)
-
Test objectives tied to business goals
-
Test levels with responsibilities
-
Test types appropriate for the project
-
Risk-based prioritization
-
Environment requirements
-
Entry/exit criteria
-
Defect management process
-
Deliverables and schedule
-
Roles and responsibilities
Step 5: Output
Save the strategy document and report location:
Test Strategy Created
File: [path to strategy document]
Summary:
- Scope: [brief scope]
- Test Levels: [unit, integration, E2E]
- Key Risks: [top 3 risks addressed]
- Tools: [recommended stack]
Next Steps:
- Review strategy with stakeholders
- Set up test environments
- Begin test case design
Examples
Simple invocation:
/test-strategy:create-strategy
With context:
/test-strategy:create-strategy e-commerce platform with payments, .NET 10, microservices