back to profile

QA resources

Cheat sheets, templates, test cases, and scripts I keep for my own work, shared for anyone who finds them useful. Spotted a mistake or have one to add? Open an issue or a pull request.

Bug reports, triage, test plans, and framework starter code, ready to copy.

Templates & Boilerplates

5 templates

Bug Report Template

Bug Report
## Bug Report

**Title:** [Brief description of the bug]

**Environment:**
- Browser/Device: [e.g., Chrome 120, iPhone 14]
- OS: [e.g., Windows 11, iOS 17]
- App Version: [e.g., v2.3.1]
- Environment: [Production/Staging/Dev]

**Severity:** [Critical/High/Medium/Low]
**Priority:** [P0/P1/P2/P3]

**Description:**
[Detailed description of what went wrong]

**Steps to Reproduce:**
1. Navigate to [URL/Screen]
2. Click on [Element]
3. Enter [Data]
4. Observe the issue

**Expected Result:**
[What should happen]

**Actual Result:**
[What actually happened]

**Screenshots/Videos:**
[Attach relevant media]

**Additional Context:**
- Error messages: [If any]
- Console logs: [If applicable]
- Network requests: [If relevant]

**Reproducibility:**
- [ ] Always reproducible
- [ ] Intermittent
- [ ] Happened once

**Related Issues:** #[issue number]

Bug Triage Template

Triage
## Bug Triage Assessment

**Bug ID:** #[number]
**Reported By:** [Name]
**Date Reported:** [Date]

**Triage Checklist:**
- [ ] Bug is reproducible
- [ ] Steps are clear and complete
- [ ] Severity is appropriate
- [ ] Priority is set correctly
- [ ] Assigned to correct team/person
- [ ] Labels added
- [ ] Sprint/Milestone assigned

**Impact Analysis:**
- Users Affected: [All/Some/Few/Single]
- Business Impact: [Revenue/Reputation/Functionality]
- Workaround Available: [Yes/No] - [Description if yes]

**Technical Assessment:**
- Root Cause: [If known]
- Areas Affected: [Frontend/Backend/Database/API]
- Risk Level: [High/Medium/Low]

**Recommended Actions:**
1. [Action item 1]
2. [Action item 2]
3. [Action item 3]

**Dependencies:**
[List any blockers or dependencies]

**Timeline Estimate:**
[Time to fix: Hours/Days/Weeks]

**Decision:**
- [ ] Approve for current sprint
- [ ] Move to backlog
- [ ] Needs more information
- [ ] Won't fix (with reason)

Test Plan Template

Planning
## Test Plan

**Feature:** [Feature Name]
**Version:** [Version Number]
**Date:** [Date]
**Prepared By:** [Name]

**1. Scope**
**In Scope:**
- [Feature/Module 1]
- [Feature/Module 2]
- [Feature/Module 3]

**Out of Scope:**
- [What won't be tested]

**2. Test Objectives**
- Verify functional requirements
- Validate user workflows
- Ensure cross-browser compatibility
- Performance benchmarking
- Security testing

**3. Test Strategy**
**Types of Testing:**
- [ ] Unit Testing
- [ ] Integration Testing
- [ ] System Testing
- [ ] Regression Testing
- [ ] Performance Testing
- [ ] Security Testing
- [ ] Usability Testing

**4. Test Environment**
- Browsers: [Chrome, Firefox, Safari, Edge]
- Devices: [Desktop, Mobile, Tablet]
- Operating Systems: [Windows, macOS, iOS, Android]
- Test Data: [Source and setup instructions]

**5. Entry Criteria**
- [ ] Requirements documented
- [ ] Test environment setup
- [ ] Test data prepared
- [ ] Build deployed

**6. Exit Criteria**
- [ ] All test cases executed
- [ ] 95%+ pass rate
- [ ] No critical/high bugs open
- [ ] Test summary report completed

**7. Risks & Mitigation**
| Risk | Impact | Mitigation |
|------|--------|------------|
| [Risk 1] | [High/Med/Low] | [Strategy] |

**8. Deliverables**
- Test cases
- Test execution reports
- Bug reports
- Test summary report

**9. Schedule**
| Activity | Start Date | End Date | Owner |
|----------|------------|----------|-------|
| Test Design | [Date] | [Date] | [Name] |
| Test Execution | [Date] | [Date] | [Name] |

Regression Testing Checklist

Checklist
## Regression Testing Checklist

**Build Version:** [Version]
**Date:** [Date]
**Tester:** [Name]

**Core Functionality**
- [ ] User login/logout
- [ ] User registration
- [ ] Password reset
- [ ] Profile management
- [ ] Navigation between pages
- [ ] Search functionality
- [ ] Form submissions
- [ ] Data validation

**UI/UX**
- [ ] Layout rendering correctly
- [ ] Responsive design (mobile/tablet/desktop)
- [ ] Images loading properly
- [ ] Icons and buttons visible
- [ ] No console errors
- [ ] Proper error messages displayed

**Integration Points**
- [ ] API endpoints working
- [ ] Third-party integrations
- [ ] Payment processing
- [ ] Email notifications
- [ ] File uploads/downloads
- [ ] Database operations

**Cross-Browser Testing**
- [ ] Chrome (latest)
- [ ] Firefox (latest)
- [ ] Safari (latest)
- [ ] Edge (latest)

**Security**
- [ ] Authentication working
- [ ] Authorization checks
- [ ] Session management
- [ ] HTTPS enabled
- [ ] No sensitive data in URLs

**Performance**
- [ ] Page load times acceptable
- [ ] No memory leaks
- [ ] API response times normal
- [ ] Database queries optimized

**Critical User Journeys**
1. [ ] [Journey 1 - e.g., Complete purchase]
2. [ ] [Journey 2 - e.g., Create account and login]
3. [ ] [Journey 3 - e.g., Submit form]

**Notes:**
[Any issues or observations]

**Result:** 
- [ ] Pass - Ready for deployment
- [ ] Fail - Issues need resolution

Test Summary Report

Reporting
## Test Summary Report

**Project:** [Project Name]
**Release:** [Version]
**Test Period:** [Start Date] - [End Date]
**Prepared By:** [Name]
**Date:** [Date]

**Executive Summary**
[Brief overview of testing activities and results]

**Test Scope**
- Features tested: [List]
- Test types executed: [Unit, Integration, E2E, etc.]
- Environments: [Dev, Staging, Production]

**Test Metrics**

**Test Execution:**
- Total Test Cases: [Number]
- Executed: [Number]
- Passed: [Number] ([Percentage]%)
- Failed: [Number] ([Percentage]%)
- Blocked: [Number]
- Not Executed: [Number]

**Defect Summary:**
- Total Bugs Found: [Number]
- Critical: [Number]
- High: [Number]
- Medium: [Number]
- Low: [Number]

**Bug Status:**
- Open: [Number]
- In Progress: [Number]
- Fixed: [Number]
- Closed: [Number]
- Won't Fix: [Number]

**Test Coverage**
- Requirements Coverage: [Percentage]%
- Code Coverage: [Percentage]%
- Automation Coverage: [Percentage]%

**Key Achievements**
- [Achievement 1]
- [Achievement 2]
- [Achievement 3]

**Issues & Risks**
- [Issue/Risk 1]
- [Issue/Risk 2]

**Recommendations**
1. [Recommendation 1]
2. [Recommendation 2]
3. [Recommendation 3]

**Conclusion**
[Overall assessment and go/no-go recommendation]

**Sign-Off**
- QA Lead: _____________ Date: _______
- Project Manager: _____________ Date: _______