← Back to libraryQuestion 313 of 468

Defect / Bug Life Cycle

📌 Definition:

The defect life cycle is the set of states a defect passes through from discovery to closure: typically New → Assigned → Open → Fixed → Retest → Verified → Closed, with branches like Reopened, Deferred, Rejected, and Duplicate.

📖 Detailed Explanation:

When a tester finds a defect they log it as NEW; a lead/triager ASSIGNS it to a developer; the developer works it (OPEN) and marks it FIXED; the tester RETESTS and either VERIFIES + CLOSES it or REOPENS it if still failing. Non-happy paths: REJECTED (not a valid defect), DUPLICATE (already reported), DEFERRED (valid but postponed), and CANNOT REPRODUCE (needs more info). Tools like Jira model these states in a workflow. Understanding the life cycle — and who owns each transition — is fundamental to defect management and a guaranteed interview topic.

🔑 Key Points:
  • States: New → Assigned → Open → Fixed → Retest → Verified → Closed
  • Branches: Reopened, Rejected, Duplicate, Deferred, Cannot Reproduce
  • Tester logs/retests/closes; developer fixes; lead triages/assigns
  • Modeled as a workflow in tools like Jira
🌍 Real-World Example:

A tester logs a checkout bug (New), the lead assigns it, the dev fixes it, the tester retests — it still fails, so it's Reopened; after a second fix it's Verified and Closed.

🎯 Scenario-Based Interview Question:

Walk through the defect life cycle, including what happens if a 'fixed' defect still fails on retest.