.agents/skills/qa-test-planner/references/regression_testing.md
Comprehensive guide to regression testing strategies and execution.
Definition: Re-testing existing functionality to ensure new changes haven't broken anything.
When to run:
Purpose: Quick sanity check
When: Daily, before detailed testing
Coverage:
Example Smoke Suite:
SMOKE-001: User can login
SMOKE-002: User can navigate to main features
SMOKE-003: Critical API endpoints respond
SMOKE-004: Database connectivity works
SMOKE-005: User can complete primary action
SMOKE-006: User can logout
Purpose: Comprehensive validation
When: Before releases, weekly
Coverage:
Purpose: Test impacted areas
When: After specific changes
Coverage:
Questions:
Example Critical Paths:
P0 (Must Run):
P1 (Should Run):
P2 (Nice to Run):
Authentication & Authorization
├─ Login/Logout
├─ Password reset
├─ Session management
└─ Permissions
Payment Processing
├─ Checkout flow
├─ Payment methods
├─ Refunds
└─ Receipt generation
User Management
├─ Profile updates
├─ Preferences
├─ Account settings
└─ Data export
Smoke Tests (20 min):
Full Regression (3 hours):
User Account (30 min):
Product Catalog (45 min):
Shopping Cart (30 min):
Checkout & Payment (45 min):
Order Management (30 min):
1. Smoke first
2. P0 tests next
3. P1 then P2
4. Exploratory
PASS:
FAIL (Block Release):
CONDITIONAL PASS:
Monthly Review:
After Each Release:
Good Candidates for Automation:
Keep Manual:
# Regression Test Report: Release 2.5.0
**Date:** 2024-01-15
**Build:** v2.5.0-rc1
**Tester:** QA Team
**Environment:** Staging
## Summary
| Suite | Total | Pass | Fail | Blocked | Pass Rate |
|-------|-------|------|------|---------|-----------|
| Smoke | 10 | 10 | 0 | 0 | 100% |
| P0 Critical | 25 | 23 | 2 | 0 | 92% |
| P1 High | 50 | 47 | 2 | 1 | 94% |
| P2 Medium | 40 | 38 | 1 | 1 | 95% |
| **TOTAL** | **125** | **118** | **5** | **2** | **94%** |
## Critical Failures (P0)
### BUG-234: Payment processing fails for Visa
- **Test:** TC-PAY-001
- **Impact:** High - Blocks 40% of transactions
- **Status:** In Progress
- **ETA:** 2024-01-16
### BUG-235: User session expires prematurely
- **Test:** TC-AUTH-045
- **Impact:** Medium - Users logged out unexpectedly
- **Status:** Under investigation
## Recommendation
**Status:** ⚠️ CONDITIONAL GO
- Fix BUG-234 (payment) before release
- BUG-235 acceptable with documented workaround
- Retest after fixes
- Final regression run before production deployment
## Risks
- Payment issue could impact revenue
- Session bug may frustrate users
- Limited time before release deadline
## Next Steps
1. Fix BUG-234 by EOD
2. Retest payment flow
3. Document session workaround
4. Final smoke test before release
❌ Don't:
✅ Do:
Before Execution:
During Execution:
After Execution:
| Suite Type | Duration | Frequency | Coverage |
|---|---|---|---|
| Smoke | 15-30 min | Daily | Critical paths |
| Targeted | 30-60 min | Per change | Affected areas |
| Full | 2-4 hours | Weekly/Release | Comprehensive |
| Sanity | 10-15 min | After hotfix | Quick validation |
Remember: Regression testing is insurance against breaking existing functionality.