← Back to libraryQuestion 249 of 273
📋Software TestingBeginner

Bug/Defect Lifecycle

📌 Definition:

The complete journey a bug takes from discovery through closure - a formal tracking process.

📖 Detailed Explanation:

Bug lifecycle is important for tracking, accountability, and understanding quality trends. Each stage has clear criteria and responsibilities. Organizations use bug tracking tools (Jira, Azure DevOps, Bugzilla) to automate this workflow.

📎 Lifecycle Stages:
StageDescriptionActionEntry CriteriaExit CriteriaTester ResponsibilityDeveloper Responsibility
New/OpenBug is discovered by tester and formally reportedTester creates bug ticket with detailed informationTester found unexpected behaviorBug report is complete and assignedWrite clear steps to reproduce, expected vs actual result
AssignedBug is assigned to developer to analyze and fixDeveloper analyzes root cause and plans fixBug is valid and verified by QA leadDeveloper completes code changesUnderstand bug, implement fix, update ticket status
Fixed/ResolvedDeveloper claims the bug is fixed in codeDeveloper moves bug to 'Fixed' statusCode changes are committedQA starts re-testingProvide build version where fix is included
ClosedQA verifies the fix works. Bug is permanently closed.QA closes the ticketFix verified by QA testerBug no longer existsTest with exact steps reported, verify fix, close ticket
ReopenedFix doesn't work or new related issues foundQA reopens ticket and reassigns to developerDuring re-testing, issue still exists or new issue foundReassigned to developer for investigationDocument why fix didn't work, provide additional details
📎 Lifecycle Workflow Diagram:

New → Assigned → Fixed → Closed (✓) OR Reopened → Assigned → ... (loop continues until fixed)

📎 Severity Vs Priority Critical Difference:
Severity:
Definition:

How badly does this bug impact the system? Impact assessment.

Assigned By:

QA Tester (the person who found the bug)

Levels:
LevelDescriptionExample
CriticalSystem crashes, data loss, security breach, core functionality brokenUser loses all order history after payment
HighMajor feature doesn't work as intendedDiscount not applied in checkout
MediumFeature partially works or minor workaround existsSearch results show in wrong order
LowCosmetic issue, doesn't affect functionalityButton text is misaligned
Priority:
Definition:

How urgently should this be fixed? Business decision.

Assigned By:

QA Lead or Product Manager

Levels:
LevelDescriptionExample
CriticalFix immediately, blocks releasePayment module broken
HighFix before next releaseImportant feature incomplete
MediumFix in reasonable timeMinor bugs affecting usability
LowCan defer to future releaseNice-to-have fix, low impact
📎 Severity Vs Priority Examples:
ScenarioSeverityPriorityWhy
Red button appears as greenLow (cosmetic, no functionality impact)High (company branding affected)Severity = how bad technically, Priority = how bad for business
App crashes when user types Chinese charactersCritical (app crashes = complete loss of function)Medium (affects only users who type Chinese, not all users)Severity = affects everyone, Priority = affects specific user segment
404 page font is Comic Sans instead of ArialLow (cosmetic)Low (user rarely sees this)Both low because minimal impact
📎 Real World Scenario:
Situation:

Bug: Users can see other users' payment methods

Severity:

Critical (security issue, data exposure)

Priority:

Critical (legal liability, must fix before release)

Lifecycle:

1. New: Found during UAT. 2. Assigned: Developer assigned. 3. Fixed: Code fix committed. 4. Closed: QA verified fix. 5. Reverified: Retest across all browsers. 6. Released: Fix in production hotfix.

📎 Bug Report Template:
Requirement:

Good bug reports have:

Details:
  • Title: Clear, concise bug description
  • Severity: Impact rating (Critical/High/Medium/Low)
  • Priority: Urgency (Critical/High/Medium/Low)
  • Steps to Reproduce: Exact steps to see the bug
  • Expected Result: What should happen
  • Actual Result: What actually happened
  • Environment: Browser, OS, build version tested
  • Attachments: Screenshots or video if applicable
📎 Common Bug Statuses In Tracking Tools:
  • New/Open - Reported, waiting for assignment
  • Assigned - Developer is working
  • In Progress - Developer actively fixing
  • Fixed - Developer done, waiting for QA test
  • Verified/Closed - QA confirmed fix
  • Reopened - Fix didn't work
  • Cannot Reproduce - QA couldn't reproduce
  • Deferred - Postponed to next release
  • Won't Fix - Decided not to fix (design, cost, other reasons)
🎯 Scenario-Based Interview Question:

You find a bug where the app crashes when uploading a file >100MB. You need to report it. How would you determine Severity and Priority?

💡 Quick Tip:

🐛 Severity = How bad? Priority = How urgent? Critical bug with low priority can wait. Spelling error with high priority gets fixed ASAP.

💡 Interview Focus:

Interviewers test understanding of severity vs priority distinction and how to write good bug reports.