Platform

Solutions

Resources

Platform

Solutions

Resources

Platform

Solutions

Resources

Blog

The 9 Stages of Bug Life Cycle in Testing Explained

Adwitiya Pandey

Published on

Bug life cycle

Table of contents

Every bug has a story. It starts when a tester, an automated test or a customer spots something that isn’t working as it should. It ends when the fix has been checked, the bug is closed, and the team is confident it won’t come back. Everything in between is the bug life cycle.

The bug life cycle, also called the defect life cycle, is the process a bug goes through from being found and reported to being fixed, checked and closed. It’s not just admin.

Teams that run it well release faster, ship fewer bugs and spend less time on emergency fixes. Teams that don’t end up with piles of open tickets, missed deadlines and frustrated customers.

In this guide, we’ll walk through every stage of the bug life cycle, who’s involved at each one, how severity and priority decide what gets fixed first, how to write a bug report developers can act on, the mistakes to avoid, and how AI is changing the process.

Bug Life Cycle Stages



What is a Bug in Software Testing?

A bug is a flaw in software that makes it behave differently from how it should. It might show up as a wrong result, a crash, a broken layout, corrupted data, a security hole or a slow page.

Bug vs Defect: What’s the Difference?

Most QA teams use “bug” and “defect” to mean the same thing. In formal software engineering, there’s a small difference:


Bug

Defect

What it means

A mistake in the code that causes unexpected behaviour

Anything that doesn’t meet the requirements

Covers

Coding and implementation errors

Coding errors, plus usability, performance and documentation problems

Usually found by

Testers and developers

Testers, reviewers, users and auditors

Example

A loop runs one time too many

A page works, but is too slow to meet the agreed response time

In this guide, we use the two words to mean the same thing, as most teams do in practice.



Common Types of Software Bugs

Understanding bug types helps teams categorize defects efficiently and route them to the right stakeholders.

Types of Software Bugs


Type

What It Looks Like

Example

Functional

The app gives the wrong result or doesn’t do what it should

A calculator returns the wrong total

UI and visual

The page looks wrong

A button overlaps text in Safari

Integration

Two systems don’t talk to each other properly

A payment provider drops the order reference

Performance

The app is slow or uses too many resources

A page takes eight seconds to load

Security

Something can be exploited

A login form allows SQL injection

Regression

A new change breaks something that used to work

Adding a discount code breaks checkout for gift cards

Regression bugs are often the costliest, because they break things the team has already tested and trusted.



The Bug Life Cycle Stages

Every team’s workflow is slightly different, but the core stages are the same almost everywhere.






Stage 1: New

The bug is found and logged in the bug tracking tool. The bug report should include:

  • What happened, and what should have happened

  • Steps to reproduce it

  • The environment, like the browser, OS and build

  • Severity and priority

  • Evidence, like screenshots, videos, logs or network traces

The bug’s status is now New. It’s been reported, but nobody’s reviewed it yet. The quality of the report makes a big difference here.

A vague report leads to lots of back and forth, which can add days to the fix.

Stage 2: Assigned

A QA lead or project manager checks the report.

Is it a real bug?

Is it a duplicate, a known issue or a misunderstanding of the requirements?

If it’s real, they assign it to a developer, and the status becomes Assigned.

This is where triage happens.

The team looks at severity (how bad is it?) and priority (how urgent is it?) to decide where it goes in the queue. Critical bugs skip the queue and get worked on straight away.

Stage 3: Open

The developer starts work. They reproduce the bug, find the root cause and work out the fix. The status is now Open or In Progress.

Sometimes, the developer finds it isn’t really a bug that needs fixing now:

Status

What It Means

Duplicate

The same bug has already been reported. It’s linked to the original ticket and closed

Rejected or Not a Bug

The app is working as intended, or the report misread the requirements. The developer explains why and sends it back to the tester

Deferred

It’s a real bug, but low priority, so it’s moved to a future release

Stage 4: Fixed

The developer makes the code change, checks it locally and marks the bug Fixed. The change usually goes through a pull request and code review.

“Fixed” doesn’t mean “done”. It means the developer believes it’s fixed, and it’s now back with QA to confirm.

Stage 5: Pending Retest

The fix is deployed to a test environment, and the bug waits for QA to check it. The status is Pending Retest or Ready for QA.

This is a handover point, so coordination matters. If the fix hasn’t actually reached the test environment, the retest will give a misleading result.

Stage 6: Retest

The tester follows the original steps to check the bug is gone. They also check nothing nearby has broken.

Regression testing matters most here. Checking the fix alone isn’t enough. Automated regression suites can check hundreds of related scenarios in the time it would take someone to check a handful by hand.

Stage 7: Verified

If the retest passes and nothing else has broken, the bug is Verified. QA has confirmed the fix works in the test environment.

Stage 8: Closed

The bug is Closed. It’s been found, investigated, fixed and confirmed. The report stays in the system, where it’s useful for spotting trends, reviewing root causes and future reference.

Stage 9: Reopened

If the retest shows the bug is still there, or it comes back after being closed, maybe in a different browser or environment, it’s Reopened. It goes back to Open or Assigned, and the cycle repeats.

A high reopen rate is a warning sign. It usually points to rushed root cause analysis, fixes that weren’t fully tested, or differences between development and test environments.



Bug Severity vs Bug Priority: The Triage Framework

Severity and priority drive every triage decision. They’re two different things, and mixing them up is one of the most common mistakes in bug management.

Severity: How Bad is it?

Severity measures the technical impact on the system.

Severity

What It Means

Critical

The app crashes, data is corrupted, there’s a security hole, or a core function is completely broken, with no workaround

High

A major feature is broken or gives wrong results, but there’s a workaround

Medium

A feature works, but not as specified. It’s annoying, but users can still finish what they’re doing

Low

A cosmetic issue, small UI inconsistency or documentation error

Priority: How Urgent is it?

Priority measures how quickly it needs fixing, based on business context. It’s decided by the people responsible for the product.

Priority

What It Means

Immediate

Fix now. It’s blocking a release, affecting live users, or creating regulatory or financial risk

High

Fix in this sprint or release

Medium

Fix in the next sprint or release

Low

Fix when there’s time

Why Severity and Priority Are Separate

A serious bug isn’t always urgent, and a minor bug isn’t always low priority:


Low Priority

High Priority

High severity

The app crashes on a reporting screen only two internal users ever open

Checkout crashes for all customers paying by card

Low severity

A typo on a help page from three years ago

The company name is misspelt on the homepage on launch day

Good triage looks at both separately before deciding what to do.

Status vs Severity vs Priority


Status

Severity

Priority

What it tells you

Where the bug is in the life cycle

How badly it affects the system

How soon it needs fixing

Example values

New, Open, Fixed, Closed

Critical, High, Medium, Low

Immediate, High, Medium, Low

Who sets it

Whoever moves it to the next stage

Usually the tester

Usually the product owner or project lead

How often it changes

At every stage

Rarely, unless new information appears

Can change as business needs change


Why Finding Bugs Early Saves Money

The later a bug is found, the more it costs to fix. A bug caught while the developer is still writing the code is quick to fix.

The same bug found in production can mean:

  • An incident response and an emergency hotfix outside the normal release

  • Investigating across complex live systems

  • Customer-facing problems that hit revenue and reputation

  • Explaining what happened to customers, managers and sometimes regulators

You’ll often see a figure like “30 times more expensive” quoted for production bugs. The exact number varies a lot between teams and is widely debated, but the direction is consistent: the later you find it, the more it costs.

That’s why continuous testing, running automated tests throughout your CI/CD pipeline, is a financial decision as well as a quality one. Every bug caught before production is a cost you avoid, and across hundreds of releases a year, that adds up quickly.



Who’s Involved in the Bug Life Cycle?

Clear ownership at every stage is what stops bugs sitting in the tracker forever.

Role

What They Own

QA testers

Finding bugs, writing reports, retesting fixes and confirming they work

QA leads and managers

Triage and priority, checking severity, assigning bugs and tracking how long they take

Developers

Reproducing bugs, finding the root cause, fixing them and making sure the fix doesn’t break anything else

DevOps engineers

Making sure test environments match production, and that pipelines run the right tests at the right time

Product managers and project leads

Business context, deciding what must be fixed before release and what can wait



How to Write a Bug Report Developers Can Act On

A good bug report gets a bug fixed faster. A vague one leads to questions, guesses and delays.

Part

What to Include

Good Example

Poor Example

Title

The problem, specifically

“Checkout button does nothing after applying a promo code in Safari 17”

“Checkout not working”

Steps to reproduce

Numbered steps, with exact data and settings. If it’s intermittent, say how often

1. Add any item 2. Apply code SAVE10 3. Click Checkout

“Try checking out”

Expected vs actual

What should happen, and what happened instead

Expected: payment page opens. Actual: nothing happens, console shows an error

“It’s broken”

Environment

Browser, version, OS, device, build and test data

Safari 17.4, macOS 14, build 4.8.2, guest user

Left blank

Severity and priority

Based on your team’s agreed definitions

High severity, Immediate priority

Everything marked Critical

Evidence

Screenshots, video, console logs, network logs

Screen recording, console error, network log

None


Here’s what a complete bug report might look like:





Bug Report Checklist

  • The title is specific and describes the problem

  • The steps to reproduce are complete and in order

  • Both the expected and actual results are stated

  • The environment details are filled in

  • Severity and priority are set using the team’s definitions

  • Screenshots, videos or logs are attached

  • The related test case or requirement is linked



Best Practices for Managing the Bug Life Cycle

Practice

Why It Helps

Write reports developers can act on

Complete reports cut out the back and forth that adds days to a fix

Agree on severity and priority definitions

When everyone uses the same definitions, triage is faster and fairer

Set target fix times by severity

For example, Critical within four hours, High within a day, Medium this sprint and Low this quarter. Targets stop low-priority bugs piling up forever

Run regression tests on every fix

Checking only the fixed bug misses anything the fix broke nearby

Track the right numbers

Bugs per feature, bugs reaching production, time from New to Closed, reopen rate and how long bugs stay open all point to problems in the process

Learn from bugs that reach production

Every escaped bug should prompt the question: why didn’t testing catch this?



Common Bug Life Cycle Mistakes

Mistake

What Goes Wrong

What to Do Instead

Vague bug reports

Developers have to guess, and every question adds hours

Use the checklist above for every report

Duplicate reports

Effort is split and the tracker gets cluttered

Search for existing bugs before logging a new one

Wrong severity

Too many “Critical” bugs create noise, and too few let real problems wait

Agree on definitions, and apply them consistently

Skipping regression after fixes

The fix works, but breaks something else

Automate regression testing so it runs on every fix

Ignoring the reopen rate

Problems with fixes and root cause analysis go unnoticed

Track it, and look into anything that’s reopened more than once

Treating broken tests as real bugs

When the UI changes, scripted tests fail even though the app works, and developers waste time chasing them

Use tests that adapt to UI changes, and check whether a failure is a real bug before logging it

For more on why tests fail when nothing is really wrong, read our guide to flaky tests.



How AI is Changing the Bug Life Cycle

AI is speeding up several stages of the bug life cycle, especially finding bugs, sorting real ones from noise and checking fixes.

Stage

Without AI

With AI

Finding bugs

Bugs are only caught if someone wrote a test for that scenario

AI helps draft tests from requirements, so more scenarios are covered

Sorting failures

Someone digs through logs to work out if a failure is a real bug, a test problem or an environment issue

AI analyses the logs, screenshots and network calls, and suggests the likely cause

Broken tests

UI changes break scripted tests, and those failures get logged as bugs

Tests adapt to UI changes, so fewer false failures reach developers

Checking fixes

Regression is run by hand, or not at all

Automated regression runs on every fix, in the pipeline

Spotting patterns

Trends are only noticed when someone looks for them

Run history highlights the areas that break most often



How Virtuoso QA Helps Across the Bug Life Cycle

Stage

How Virtuoso QA Helps

New: finding bugs earlier

Touchstone drafts tests from your specs and stories, so more scenarios are tested. StepIQ suggests the next steps as testers write, and tests run on every commit through Jenkins, Azure DevOps or GitHub Actions

Fewer false bugs

When the UI changes, Virtuoso QA suggests a fix for your team to approve, so a moved button doesn’t turn into a bug report

Assigned and Open: faster triage

Root cause analysis looks at step logs, network calls, error codes and UI comparisons, and suggests whether a failure is an app bug, an environment issue, a data problem or a test issue

New: complete bug reports

Every failure comes with screenshots, logs and the failing step, and can be sent to Jira, so reports start complete

Retest: faster checking

Regression suites rerun across 2,000+ browser and OS combinations, so you can check a fix hasn’t broken anything else

Closed: a record of what was checked

Every run records what was tested, the result and who approved the test, so you can show how a fix was confirmed

To see how Virtuoso QA reruns your regression suite on every fix, take a look at regression testing. And when you need to show how a release was checked, see release evidence.‍



Related Reads

Bug Life Cycle FAQs

What is the bug life cycle?

What are the stages of the bug life cycle?

What’s the difference between severity and priority?

Who decides bug priority?

What does “Deferred” mean in the bug life cycle?

Why do bugs get reopened?

Written by

Adwitiya Pandey

Senior Test Evangelist

Adwitiya works directly with QA teams adopting the platform and turns what he sees into practical guides on test design, regression strategy and keeping coverage honest.

See what your next release looks like with Virtuoso

Book a walkthrough on your applications and your workflows. Bring a requirement, a user journey, or a brittle Selenium script, and watch the loop run on something you recognise.

See what your next release looks like with Virtuoso

Book a walkthrough on your applications and your workflows. Bring a requirement, a user journey, or a brittle Selenium script, and watch the loop run on something you recognise.

See what your next release looks like with Virtuoso

Book a walkthrough on your applications and your workflows. Bring a requirement, a user journey, or a brittle Selenium script, and watch the loop run on something you recognise.

Virtuoso QA is establishing the standard of proof for software releases. Its governed QA loop turns business requirements into tests for any browser-based application: AI proposes, a deterministic engine executes, a person approves what matters, and every decision leaves evidence.

Trust Center

AICPA

SOC

WAVE STRONG PERFORMER

@ Copyright 2026 SpotQA, Creators of Virtuoso QA

Virtuoso QA is establishing the standard of proof for software releases. Its governed QA loop turns business requirements into tests for any browser-based application: AI proposes, a deterministic engine executes, a person approves what matters, and every decision leaves evidence.

Trust Center

AICPA

SOC

WAVE STRONG PERFORMER

@ Copyright 2026 SpotQA, Creators of Virtuoso QA

Virtuoso QA is establishing the standard of proof for software releases. Its governed QA loop turns business requirements into tests for any browser-based application: AI proposes, a deterministic engine executes, a person approves what matters, and every decision leaves evidence.

Trust Center

AICPA

SOC

WAVE STRONG PERFORMER

@ Copyright 2026 SpotQA, Creators of Virtuoso QA