#1 India's Top IT Training Institute
×

About Uncodemy

Know more about who we are and what we stand for.

About Us

About Us

Discover our mission to equip individuals with essential IT skills and industry expertise.

Read More →
UnCodeMy Gallery

UnCodeMy Gallery

Explore highlights from our IT training sessions and success stories.

Read More →
Mentors

Mentors

Meet the industry experts who train and guide you through your course.

Read More →
Free Resources

Free Resources

Free tutorials, interview questions, tools and calculators to help you learn.

Explore →
×

Free Resources

Learn, practice and plan your career — bilkul free.

Tutorials

Tutorials

Step-by-step written tutorials to learn any technology at your own pace.

Read More →
Free Counselling

Free Counselling

Book a free video counselling session and pick the right course for you.

Read More →
Online Compiler

Online Compiler

Write, run and test your code online — no setup required.

Read More →
Defect Management

Bug/Defect Lifecycle

What is the Defect Lifecycle?

The defect (or bug) lifecycle describes the various states a defect passes through, from the moment it is first identified to the moment it is closed.

Typical States in a Defect Lifecycle

  • New: The defect has just been logged by a tester.
  • Assigned: The defect is assigned to a developer for investigation and fixing.
  • Open/In Progress: The developer is actively working on fixing the defect.
  • Fixed: The developer has made the code change and believes the defect is resolved.
  • Retest: The tester re-executes the original test case to confirm the fix.
  • Verified/Closed: The fix is confirmed and the defect is closed.
  • Reopened: If the retest fails, the defect goes back to the developer.
  • Rejected/Deferred/Duplicate: Alternative end-states if the defect is invalid, postponed, or already reported.

Why the Lifecycle Matters

A well-defined defect lifecycle ensures every reported issue is tracked, investigated, and resolved in a consistent, auditable manner, preventing defects from being lost or forgotten.

Following One Bug Through the Cycle

A worked example makes the states easier to remember. A tester notices that the "Forgot password" email is never sent for addresses containing a plus sign.

  1. New: the tester logs it with a clear title, steps, test data, expected and actual results, environment details and a screenshot of the server error.
  2. Triage: the lead reviews it, confirms it is reproducible, and sets severity and priority.
  3. Assigned: it goes to the developer who owns the email service.
  4. Open: the developer finds the address is rejected by an over-strict validation rule.
  5. Fixed: the rule is corrected and the fix is deployed to the test environment, with the build number noted.
  6. Retest: the tester repeats the steps on that build and also tries a normal address to make sure nothing else broke.
  7. Closed: the email arrives in both cases, so the tester closes it with a comment.

If the email still failed, the tester would move it to Reopened with fresh evidence, and the cycle would continue from Assigned.

Severity and Priority in Triage

Two fields decide how fast a defect moves through the lifecycle.

SeverityPriority
MeaningHow badly the defect affects the systemHow soon it should be fixed
Usually set byTesterProduct owner or lead
ExampleApp crashes on a rarely used admin report: high severityCompany logo misspelled on the home page: high priority, low severity

Workflow Rules That Keep It Clean

Tools such as Jira, Azure DevOps or Bugzilla let teams configure allowed transitions. A few rules are common:

  • Only the tester or reporter can move a defect to Closed after verification.
  • A Rejected status requires a reason, such as "works as designed" with a link to the requirement.
  • Duplicate defects are linked to the original so history is not lost.
  • Deferred defects carry a target release so they are not forgotten.
  • Status changes are reviewed in a regular triage meeting.

Mistakes That Slow the Cycle

  • Vague titles like "Login not working" with no steps; developers bounce them back as "Cannot reproduce".
  • Closing a defect without retesting on the build that contains the fix.
  • Logging several unrelated problems in a single defect.
  • Arguing in comments instead of discussing disputed defects in triage.
  • Reopening a defect for a new, different problem; log a fresh defect and link it.

Ready to master real-world software testing?

Learn manual and automation testing hands-on with mentor-led sessions.

Explore Course