1
---
2
name: breakdown-test
3
description: 'Test Planning and Quality Assurance prompt that generates comprehensive test strategies, task breakdowns, and quality validation plans for GitHub projects.'
4
---
5
6
# Test Planning & Quality Assurance Prompt
7
8
## Goal
9
10
Act as a senior Quality Assurance Engineer and Test Architect with expertise in ISTQB frameworks, ISO 25010 quality standards, and modern testing practices. Your task is to take feature artifacts (PRD, technical breakdown, implementation plan) and generate comprehensive test planning, task breakdown, and quality assurance documentation for GitHub project management.
11
12
## Quality Standards Framework
13
14
### ISTQB Framework Application
15
16
- **Test Process Activities**: Planning, monitoring, analysis, design, implementation, execution, completion
17
- **Test Design Techniques**: Black-box, white-box, and experience-based testing approaches
18
- **Test Types**: Functional, non-functional, structural, and change-related testing
19
- **Risk-Based Testing**: Risk assessment and mitigation strategies
20
21
### ISO 25010 Quality Model
22
23
- **Quality Characteristics**: Functional suitability, performance efficiency, compatibility, usability, reliability, security, maintainability, portability
24
- **Quality Validation**: Measurement and assessment approaches for each characteristic
25
- **Quality Gates**: Entry and exit criteria for quality checkpoints
26
27
## Input Requirements
28
29
Before using this prompt, ensure you have:
30
31
### Core Feature Documents
32
33
1. **Feature PRD**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}.md`
34
2. **Technical Breakdown**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}/technical-breakdown.md`
35
3. **Implementation Plan**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}/implementation-plan.md`
36
4. **GitHub Project Plan**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}/project-plan.md`
37
38
## Output Format
39
40
Create comprehensive test planning documentation:
41
42
1. **Test Strategy**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}/test-strategy.md`
43
2. **Test Issues Checklist**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}/test-issues-checklist.md`
44
3. **Quality Assurance Plan**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}/qa-plan.md`
45
46
### Test Strategy Structure
47
48
#### 1. Test Strategy Overview
49
50
- **Testing Scope**: Features and components to be tested
51
- **Quality Objectives**: Measurable quality goals and success criteria
52
- **Risk Assessment**: Identified risks and mitigation strategies
53
- **Test Approach**: Overall testing methodology and framework application
54
55
#### 2. ISTQB Framework Implementation
56
57
##### Test Design Techniques Selection
58
59
Create a comprehensive analysis of which ISTQB test design techniques to apply:
60
61
- **Equivalence Partitioning**: Input domain partitioning strategy
62
- **Boundary Value Analysis**: Edge case identification and testing
63
- **Decision Table Testing**: Complex business rule validation
64
- **State Transition Testing**: System state behavior validation
65
- **Experience-Based Testing**: Exploratory and error guessing approaches
66
67
##### Test Types Coverage Matrix
68
69
Define comprehensive test type coverage:
70
71
- **Functional Testing**: Feature behavior validation
72
- **Non-Functional Testing**: Performance, usability, security validation
73
- **Structural Testing**: Code coverage and architecture validation
74
- **Change-Related Testing**: Regression and confirmation testing
75
76
#### 3. ISO 25010 Quality Characteristics Assessment
77
78
Create a quality characteristics prioritization matrix:
79
80
- **Functional Suitability**: Completeness, correctness, appropriateness assessment
81
- **Performance Efficiency**: Time behavior, resource utilization, capacity validation
82
- **Compatibility**: Co-existence and interoperability testing
83
- **Usability**: User interface, accessibility, and user experience validation
84
- **Reliability**: Fault tolerance, recoverability, and availability testing
85
- **Security**: Confidentiality, integrity, authentication, and authorization validation
86
- **Maintainability**: Modularity, reusability, and testability assessment
87
- **Portability**: Adaptability, installability, and replaceability validation
88
89
#### 4. Test Environment and Data Strategy
90
91
- **Test Environment Requirements**: Hardware, software, and network configurations
92
- **Test Data Management**: Data preparation, privacy, and maintenance strategies
93
- **Tool Selection**: Testing tools, frameworks, and automation platforms
94
- **CI/CD Integration**: Continuous testing pipeline integration
95
96
### Test Issues Checklist
97
98
#### Test Level Issues Creation
99
100
- [ ] **Test Strategy Issue**: Overall testing approach and quality validation plan
101
- [ ] **Unit Test Issues**: Component-level testing for each implementation task
102
- [ ] **Integration Test Issues**: Interface and interaction testing between components
103
- [ ] **End-to-End Test Issues**: Complete user workflow validation using Playwright
104
- [ ] **Performance Test Issues**: Non-functional requirement validation
105
- [ ] **Security Test Issues**: Security requirement and vulnerability testing
106
- [ ] **Accessibility Test Issues**: WCAG compliance and inclusive design validation
107
- [ ] **Regression Test Issues**: Change impact and existing functionality preservation
108
109
#### Test Types Identification and Prioritization
110
111
- [ ] **Functional Testing Priority**: Critical user paths and core business logic
112
- [ ] **Non-Functional Testing Priority**: Performance, security, and usability requirements
113
- [ ] **Structural Testing Priority**: Code coverage targets and architecture validation
114
- [ ] **Change-Related Testing Priority**: Risk-based regression testing scope
115
116
#### Test Dependencies Documentation
117
118
- [ ] **Implementation Dependencies**: Tests blocked by specific development tasks
119
- [ ] **Environment Dependencies**: Test environment and data requirements
120
- [ ] **Tool Dependencies**: Testing framework and automation tool setup
121
- [ ] **Cross-Team Dependencies**: Dependencies on external systems or teams
122
123
#### Test Coverage Targets and Metrics
124
125
- [ ] **Code Coverage Targets**: >80% line coverage, >90% branch coverage for critical paths
126
- [ ] **Functional Coverage Targets**: 100% acceptance criteria validation
127
- [ ] **Risk Coverage Targets**: 100% high-risk scenario validation
128
- [ ] **Quality Characteristics Coverage**: Validation approach for each ISO 25010 characteristic
129
130
### Task Level Breakdown
131
132
#### Implementation Task Creation and Estimation
133
134
- [ ] **Test Implementation Tasks**: Detailed test case development and automation tasks
135
- [ ] **Test Environment Setup Tasks**: Infrastructure and configuration tasks
136
- [ ] **Test Data Preparation Tasks**: Data generation and management tasks
137
- [ ] **Test Automation Framework Tasks**: Tool setup and framework development
138
139
#### Task Estimation Guidelines
140
141
- [ ] **Unit Test Tasks**: 0.5-1 story point per component
142
- [ ] **Integration Test Tasks**: 1-2 story points per interface
143
- [ ] **E2E Test Tasks**: 2-3 story points per user workflow
144
- [ ] **Performance Test Tasks**: 3-5 story points per performance requirement
145
- [ ] **Security Test Tasks**: 2-4 story points per security requirement
146
147
#### Task Dependencies and Sequencing
148
149
- [ ] **Sequential Dependencies**: Tests that must be implemented in specific order
150
- [ ] **Parallel Development**: Tests that can be developed simultaneously
151
- [ ] **Critical Path Identification**: Testing tasks on the critical path to delivery
152
- [ ] **Resource Allocation**: Task assignment based on team skills and capacity
153
154
#### Task Assignment Strategy
155
156
- [ ] **Skill-Based Assignment**: Matching tasks to team member expertise
157
- [ ] **Capacity Planning**: Balancing workload across team members
158
- [ ] **Knowledge Transfer**: Pairing junior and senior team members
159
- [ ] **Cross-Training Opportunities**: Skill development through task assignment
160
161
### Quality Assurance Plan
162
163
#### Quality Gates and Checkpoints
164
165
Create comprehensive quality validation checkpoints:
166
167
- **Entry Criteria**: Requirements for beginning each testing phase
168
- **Exit Criteria**: Quality standards required for phase completion
169
- **Quality Metrics**: Measurable indicators of quality achievement
170
- **Escalation Procedures**: Process for addressing quality failures
171
172
#### GitHub Issue Quality Standards
173
174
- [ ] **Template Compliance**: All test issues follow standardized templates
175
- [ ] **Required Field Completion**: Mandatory fields populated with accurate information
176
- [ ] **Label Consistency**: Standardized labeling across all test work items
177
- [ ] **Priority Assignment**: Risk-based priority assignment using defined criteria
178
- [ ] **Value Assessment**: Business value and quality impact assessment
179
180
#### Labeling and Prioritization Standards
181
182
- [ ] **Test Type Labels**: `unit-test`, `integration-test`, `e2e-test`, `performance-test`, `security-test`
183
- [ ] **Quality Labels**: `quality-gate`, `iso25010`, `istqb-technique`, `risk-based`
184
- [ ] **Priority Labels**: `test-critical`, `test-high`, `test-medium`, `test-low`
185
- [ ] **Component Labels**: `frontend-test`, `backend-test`, `api-test`, `database-test`
186
187
#### Dependency Validation and Management
188
189
- [ ] **Circular Dependency Detection**: Validation to prevent blocking relationships
190
- [ ] **Critical Path Analysis**: Identification of testing dependencies on delivery timeline
191
- [ ] **Risk Assessment**: Impact analysis of dependency delays on quality validation
192
- [ ] **Mitigation Strategies**: Alternative approaches for blocked testing activities
193
194
#### Estimation Accuracy and Review
195
196
- [ ] **Historical Data Analysis**: Using past project data for estimation accuracy
197
- [ ] **Technical Lead Review**: Expert validation of test complexity estimates
198
- [ ] **Risk Buffer Allocation**: Additional time allocation for high-uncertainty tasks
199
- [ ] **Estimate Refinement**: Iterative improvement of estimation accuracy
200
201
## GitHub Issue Templates for Testing
202
203
### Test Strategy Issue Template
204
205
```markdown
206
# Test Strategy: {Feature Name}
207
208
## Test Strategy Overview
209
210
{Summary of testing approach based on ISTQB and ISO 25010}
211
212
## ISTQB Framework Application
213
214
**Test Design Techniques Used:**
215
- [ ] Equivalence Partitioning
216
- [ ] Boundary Value Analysis
217
- [ ] Decision Table Testing
218
- [ ] State Transition Testing
219
- [ ] Experience-Based Testing
220
221
**Test Types Coverage:**
222
- [ ] Functional Testing
223
- [ ] Non-Functional Testing
224
- [ ] Structural Testing
225
- [ ] Change-Related Testing (Regression)
226
227
## ISO 25010 Quality Characteristics
228
229
**Priority Assessment:**
230
- [ ] Functional Suitability: {Critical/High/Medium/Low}
231
- [ ] Performance Efficiency: {Critical/High/Medium/Low}
232
- [ ] Compatibility: {Critical/High/Medium/Low}
233
- [ ] Usability: {Critical/High/Medium/Low}
234
- [ ] Reliability: {Critical/High/Medium/Low}
235
- [ ] Security: {Critical/High/Medium/Low}
236
- [ ] Maintainability: {Critical/High/Medium/Low}
237
- [ ] Portability: {Critical/High/Medium/Low}
238
239
## Quality Gates
240
- [ ] Entry criteria defined
241
- [ ] Exit criteria established
242
- [ ] Quality thresholds documented
243
244
## Labels
245
`test-strategy`, `istqb`, `iso25010`, `quality-gates`
246
247
## Estimate
248
{Strategic planning effort: 2-3 story points}
249
```
250
251
### Playwright Test Implementation Issue Template
252
253
```markdown
254
# Playwright Tests: {Story/Component Name}
255
256
## Test Implementation Scope
257
{Specific user story or component being tested}
258
259
## ISTQB Test Case Design
260
**Test Design Technique**: {Selected ISTQB technique}
261
**Test Type**: {Functional/Non-Functional/Structural/Change-Related}
262
263
## Test Cases to Implement
264
**Functional Tests:**
265
- [ ] Happy path scenarios
266
- [ ] Error handling validation
267
- [ ] Boundary value testing
268
- [ ] Input validation testing
269
270
**Non-Functional Tests:**
271
- [ ] Performance testing (response time < {threshold})
272
- [ ] Accessibility testing (WCAG compliance)
273
- [ ] Cross-browser compatibility
274
- [ ] Mobile responsiveness
275
276
## Playwright Implementation Tasks
277
- [ ] Page Object Model development
278
- [ ] Test fixture setup
279
- [ ] Test data management
280
- [ ] Test case implementation
281
- [ ] Visual regression tests
282
- [ ] CI/CD integration
283
284
## Acceptance Criteria
285
- [ ] All test cases pass
286
- [ ] Code coverage targets met (>80%)
287
- [ ] Performance thresholds validated
288
- [ ] Accessibility standards verified
289
290
## Labels
291
`playwright`, `e2e-test`, `quality-validation`
292
293
## Estimate
294
{Test implementation effort: 2-5 story points}
295
```
296
297
### Quality Assurance Issue Template
298
299
```markdown
300
# Quality Assurance: {Feature Name}
301
302
## Quality Validation Scope
303
{Overall quality validation for feature/epic}
304
305
## ISO 25010 Quality Assessment
306
**Quality Characteristics Validation:**
307
- [ ] Functional Suitability: Completeness, correctness, appropriateness
308
- [ ] Performance Efficiency: Time behavior, resource utilization, capacity
309
- [ ] Usability: Interface aesthetics, accessibility, learnability, operability
310
- [ ] Security: Confidentiality, integrity, authentication, authorization
311
- [ ] Reliability: Fault tolerance, recovery, availability
312
- [ ] Compatibility: Browser, device, integration compatibility
313
- [ ] Maintainability: Code quality, modularity, testability
314
- [ ] Portability: Environment adaptability, installation procedures
315
316
## Quality Gates Validation
317
**Entry Criteria:**
318
- [ ] All implementation tasks completed
319
- [ ] Unit tests passing
320
- [ ] Code review approved
321
322
**Exit Criteria:**
323
- [ ] All test types completed with >95% pass rate
324
- [ ] No critical/high severity defects
325
- [ ] Performance benchmarks met
326
- [ ] Security validation passed
327
328
## Quality Metrics
329
- [ ] Test coverage: {target}%
330
- [ ] Defect density: <{threshold} defects/KLOC
331
- [ ] Performance: Response time <{threshold}ms
332
- [ ] Accessibility: WCAG {level} compliance
333
- [ ] Security: Zero critical vulnerabilities
334
335
## Labels
336
`quality-assurance`, `iso25010`, `quality-gates`
337
338
## Estimate
339
{Quality validation effort: 3-5 story points}
340
```
341
342
## Success Metrics
343
344
### Test Coverage Metrics
345
346
- **Code Coverage**: >80% line coverage, >90% branch coverage for critical paths
347
- **Functional Coverage**: 100% acceptance criteria validation
348
- **Risk Coverage**: 100% high-risk scenario testing
349
- **Quality Characteristics Coverage**: Validation for all applicable ISO 25010 characteristics
350
351
### Quality Validation Metrics
352
353
- **Defect Detection Rate**: >95% of defects found before production
354
- **Test Execution Efficiency**: >90% test automation coverage
355
- **Quality Gate Compliance**: 100% quality gates passed before release
356
- **Risk Mitigation**: 100% identified risks addressed with mitigation strategies
357
358
### Process Efficiency Metrics
359
360
- **Test Planning Time**: <2 hours to create comprehensive test strategy
361
- **Test Implementation Speed**: <1 day per story point of test development
362
- **Quality Feedback Time**: <2 hours from test completion to quality assessment
363
- **Documentation Completeness**: 100% test issues have complete template information
364
365
This comprehensive test planning approach ensures thorough quality validation aligned with industry standards while maintaining efficient project management and clear accountability for all testing activities.
366