Defect Life Cycle
The defect life cycle explains how a defect is identified, tracked, fixed, verified, and closed. Understanding this cycle is essential for effective communication between QA, development, and stakeholders.
In real projects, defect handling reflects tester professionalism.
What is a Defect?β
A defect is any deviation between:
- Expected behavior (requirement)
- Actual behavior (application)
Common terms used interchangeably:
- Bug
- Defect
- Issue
Context matters more than terminology.
Why Defect Life Cycle is Importantβ
- Ensures defects are not lost
- Provides visibility to all stakeholders
- Tracks fix progress
- Supports release decisions
Without a defined life cycle:
- Defects are missed
- Accountability is unclear
- Quality suffers
Typical Defect Life Cycle Statesβ
New β Assigned β Open β Fixed β Retest β Closed
β Rejected
β Deferred
β Duplicate
State names may vary slightly across tools, but flow remains the same.
1οΈβ£ Newβ
- Defect is logged by tester
- Awaiting review
Tester responsibility:
- Ensure defect is reproducible
- Provide clear details
2οΈβ£ Assignedβ
- Defect is assigned to a developer or team
- Ownership is established
3οΈβ£ Openβ
- Developer starts working on the defect
- Root cause analysis happens
4οΈβ£ Fixedβ
- Developer fixes the issue
- Defect is moved to fixed status
Important:
Fixed does not mean verified.
5οΈβ£ Retestβ
- Tester re-tests the defect
- Confirms whether fix works
Outcomes:
- Pass β Close defect
- Fail β Reopen defect
6οΈβ£ Closedβ
- Defect fix is verified
- No further action required
Additional Defect Statesβ
β Rejectedβ
- Not a valid defect
- Works as designed
βΈοΈ Deferredβ
- Fix postponed to future release
π Duplicateβ
- Same issue already logged
π Reopenedβ
- Fix failed during retesting
Severity vs Priority (CRITICAL)β
Severityβ
- Impact of defect on system
Examples:
- Critical
- Major
- Minor
- Trivial
Priorityβ
- Urgency of fixing defect
Examples:
- High
- Medium
- Low
Key rule:
High severity does not always mean high priority.
Defect Life Cycle in Agileβ
In Agile:
- Defects are tracked within sprints
- Faster turnaround
- Continuous feedback
- Regression after fixes
Tester role:
- Immediate verification
- Close collaboration with developers
Common Defect Management Mistakes ββ
- Poor defect description
- Missing screenshots/logs
- Logging duplicates
- Reopening without evidence
- Treating environment issues as defects
Interview-Ready Questionsβ
Q: What is a defect life cycle?
A: The process a defect goes through from identification to closure.
Q: Difference between severity and priority?
A: Severity is impact; priority is urgency.
Key Takeawaysβ
- Defect life cycle ensures quality control
- Clear states improve tracking
- Retesting is mandatory
- Severity and priority are different
- Strong defect handling builds credibility