> ## Documentation Index
> Fetch the complete documentation index at: https://mndesigns.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Test Planning Prompts

> AI-powered prompts for creating comprehensive test plans

# Test Planning Prompts

This section provides prompts designed to help you create detailed test plans using AI. These prompts ensure that all aspects of testing are covered and properly documented.

## Basic Test Plan Generation

### Prompt Template

```text theme={null}
Generate a comprehensive test plan for:
[Project/Feature Name]: [Brief description]

Project Overview:
- Purpose: [Description]
- Scope: [In scope/Out of scope]
- Timeline: [Duration]
- Resources: [Available resources]

Requirements:
1. [Requirement 1]
2. [Requirement 2]
...

Please include:
- Test Strategy
- Test Scope
- Test Schedule
- Resource Allocation
- Risk Assessment
- Test Environment
- Test Deliverables
- Success Criteria
```

### Example Usage

```text theme={null}
Generate a comprehensive test plan for:
E-commerce Checkout System: New payment gateway integration

Project Overview:
- Purpose: Integrate new payment gateway for improved transaction processing
- Scope: Payment processing, order confirmation, receipt generation
- Timeline: 4 weeks
- Resources: 2 QA engineers, 1 automation engineer, test environment

Requirements:
1. Support multiple payment methods
2. Handle failed transactions gracefully
3. Generate detailed receipts
4. Maintain transaction history
5. Ensure PCI compliance

Please include:
- Test Strategy
- Test Scope
- Test Schedule
- Resource Allocation
- Risk Assessment
- Test Environment
- Test Deliverables
- Success Criteria
```

## Advanced Test Planning

### Performance Test Planning

```text theme={null}
Generate a performance test plan for:
[System/Feature]: [Description]

Focus Areas:
1. Load Testing
2. Stress Testing
3. Endurance Testing
4. Spike Testing
5. Volume Testing

Include:
- Performance Metrics
- Test Scenarios
- Test Data Requirements
- Monitoring Strategy
- Success Criteria
- Resource Requirements
```

### Security Test Planning

```text theme={null}
Generate a security test plan for:
[System/Feature]: [Description]

Coverage Areas:
1. Authentication
2. Authorization
3. Data Protection
4. Network Security
5. Compliance Requirements

Include:
- Security Test Scenarios
- Vulnerability Assessment
- Penetration Testing
- Compliance Checks
- Risk Mitigation
```

## Best Practices

When using these prompts:

1. **Be Comprehensive**
   * Cover all test types
   * Include all stakeholders
   * Consider all risks

2. **Be Specific**
   * Define clear objectives
   * Set measurable criteria
   * Specify timelines

3. **Consider Resources**
   * Available personnel
   * Test environments
   * Tools and equipment

4. **Plan for Risks**
   * Identify potential issues
   * Define mitigation strategies
   * Include contingency plans

## Tips for Better Results

1. **Start with Clear Objectives**
   * Define test goals
   * Set success criteria
   * Identify key stakeholders

2. **Include All Test Types**
   * Functional testing
   * Non-functional testing
   * Regression testing
   * Integration testing

3. **Consider Dependencies**
   * System dependencies
   * Resource dependencies
   * Timeline dependencies

4. **Plan for Documentation**
   * Test cases
   * Test results
   * Defect reports
   * Status reports

## Common Pitfalls to Avoid

1. **Incomplete Scope**
   * ❌ "Test the system"
   * ✅ "Test user authentication, payment processing, and order management"

2. **Missing Resources**
   * ❌ "Need testers"
   * ✅ "Need 2 QA engineers, 1 automation engineer, and test environment with specific configurations"

3. **Unclear Criteria**
   * ❌ "Test until stable"
   * ✅ "All critical bugs resolved, 95% test coverage achieved, performance metrics met"

4. **Inadequate Risk Planning**
   * ❌ "Handle issues as they come"
   * ✅ "Identified risks: server downtime, data corruption, network latency. Mitigation: backup systems, data validation, monitoring"

## Example Output Structure

```markdown theme={null}
Test Plan ID: TP-001
Project: E-commerce Checkout System
Version: 1.0
Date: [Current Date]

1. Introduction
   - Purpose
   - Scope
   - Objectives

2. Test Strategy
   - Test Levels
   - Test Types
   - Test Approach

3. Test Scope
   - In Scope
   - Out of Scope
   - Dependencies

4. Test Schedule
   - Timeline
   - Milestones
   - Deliverables

5. Resource Allocation
   - Team Members
   - Roles
   - Responsibilities

6. Test Environment
   - Hardware
   - Software
   - Network
   - Tools

7. Risk Assessment
   - Identified Risks
   - Mitigation Strategies
   - Contingency Plans

8. Success Criteria
   - Quality Metrics
   - Performance Metrics
   - Acceptance Criteria

9. Test Deliverables
   - Test Cases
   - Test Results
   - Defect Reports
   - Status Reports
```
