BMAD-METHOD/.claude/templates/test-plan.md

5.2 KiB

{{project_name}} Test Plan

Overview

Testing Scope

{{testing_scope}}

Testing Goals

  • {{testing_goal_1}}
  • {{testing_goal_2}}
  • {{testing_goal_3}}

Test Strategy

{{test_strategy_overview}}

Change Log

Date Version Description Author
{{date}} {{version}} {{description}} {{author}}

Test Environment Setup

Test Infrastructure

{{test_infrastructure}}

Test Data Requirements

{{test_data_requirements}}

Environment Configuration

{{environment_configuration}}

Dependencies

{{testing_dependencies}}

Test Types and Coverage

Unit Testing

  • Framework: {{unit_test_framework}}
  • Coverage Target: {{unit_coverage_target}}
  • Key Areas:
    • {{unit_test_area_1}}
    • {{unit_test_area_2}}
    • {{unit_test_area_3}}

Integration Testing

  • Scope: {{integration_test_scope}}
  • Key Integration Points:
    • {{integration_point_1}}
    • {{integration_point_2}}
    • {{integration_point_3}}

End-to-End Testing

  • Framework: {{e2e_test_framework}}
  • Critical User Journeys:
    • {{user_journey_1}}
    • {{user_journey_2}}
    • {{user_journey_3}}

Performance Testing

  • Performance Targets:
    • {{performance_target_1}}
    • {{performance_target_2}}
    • {{performance_target_3}}
  • Load Testing Scenarios:
    • {{load_scenario_1}}
    • {{load_scenario_2}}

Security Testing

  • Security Requirements:
    • {{security_requirement_1}}
    • {{security_requirement_2}}
    • {{security_requirement_3}}
  • Testing Approach: {{security_testing_approach}}

Test Scenarios

Feature 1: {{feature_1_name}}

Test Scenario 1.1: {{scenario_1_1_name}}

  • Objective: {{scenario_1_1_objective}}
  • Preconditions: {{scenario_1_1_preconditions}}
  • Test Steps:
    1. {{scenario_1_1_step_1}}
    2. {{scenario_1_1_step_2}}
    3. {{scenario_1_1_step_3}}
  • Expected Results: {{scenario_1_1_expected}}

Test Scenario 1.2: {{scenario_1_2_name}}

  • Objective: {{scenario_1_2_objective}}
  • Preconditions: {{scenario_1_2_preconditions}}
  • Test Steps:
    1. {{scenario_1_2_step_1}}
    2. {{scenario_1_2_step_2}}
    3. {{scenario_1_2_step_3}}
  • Expected Results: {{scenario_1_2_expected}}

Feature 2: {{feature_2_name}}

Test Scenario 2.1: {{scenario_2_1_name}}

  • Objective: {{scenario_2_1_objective}}
  • Preconditions: {{scenario_2_1_preconditions}}
  • Test Steps:
    1. {{scenario_2_1_step_1}}
    2. {{scenario_2_1_step_2}}
    3. {{scenario_2_1_step_3}}
  • Expected Results: {{scenario_2_1_expected}}

Regression Testing

Regression Test Suite

{{regression_test_suite}}

Critical Path Testing

{{critical_path_testing}}

Automated Regression Tests

{{automated_regression_tests}}

Risk-Based Testing

High-Risk Areas

  • {{high_risk_1}}: {{high_risk_1_description}}
  • {{high_risk_2}}: {{high_risk_2_description}}
  • {{high_risk_3}}: {{high_risk_3_description}}

Risk Mitigation Testing

{{risk_mitigation_testing}}

Accessibility Testing

Accessibility Standards

{{accessibility_standards}}

Testing Tools

{{accessibility_testing_tools}}

Test Coverage

{{accessibility_test_coverage}}

Browser and Device Testing

Browser Support Matrix

Browser Version Priority
{{browser_1}} {{browser_1_version}} {{browser_1_priority}}
{{browser_2}} {{browser_2_version}} {{browser_2_priority}}
{{browser_3}} {{browser_3_version}} {{browser_3_priority}}

Device Testing

{{device_testing_approach}}

Responsive Design Testing

{{responsive_testing}}

Test Execution Plan

Test Phases

  1. {{phase_1}}: {{phase_1_description}}
  2. {{phase_2}}: {{phase_2_description}}
  3. {{phase_3}}: {{phase_3_description}}

Entry and Exit Criteria

Entry Criteria

  • {{entry_criteria_1}}
  • {{entry_criteria_2}}
  • {{entry_criteria_3}}

Exit Criteria

  • {{exit_criteria_1}}
  • {{exit_criteria_2}}
  • {{exit_criteria_3}}

Test Schedule

{{test_schedule}}

Defect Management

Bug Reporting Process

{{bug_reporting_process}}

Severity Classification

Severity Description Example
Critical {{critical_severity}} {{critical_example}}
High {{high_severity}} {{high_example}}
Medium {{medium_severity}} {{medium_example}}
Low {{low_severity}} {{low_example}}

Bug Triage Process

{{bug_triage_process}}

Test Metrics and Reporting

Key Metrics

  • {{metric_1}}
  • {{metric_2}}
  • {{metric_3}}

Reporting Schedule

{{reporting_schedule}}

Success Criteria

{{test_success_criteria}}

Test Deliverables

Test Documentation

  • {{deliverable_1}}
  • {{deliverable_2}}
  • {{deliverable_3}}

Test Reports

{{test_reports}}

Test Artifacts

{{test_artifacts}}

Assumptions and Dependencies

Assumptions

  • {{assumption_1}}
  • {{assumption_2}}
  • {{assumption_3}}

Dependencies

  • {{dependency_1}}
  • {{dependency_2}}
  • {{dependency_3}}

Sign-off

Stakeholder Approval

{{stakeholder_approval_process}}

Test Plan Approval

Role Name Signature Date
{{role_1}} {{name_1}} {{signature_1}} {{date_1}}
{{role_2}} {{name_2}} {{signature_2}} {{date_2}}
{{role_3}} {{name_3}} {{signature_3}} {{date_3}}