What Is Retesting? Process, Examples, and Retesting vs Regression Testing

what is retesting

Retesting confirms that a specific defect is fixed by rerunning the test that found it. Learn when to retest, the process through the defect life cycle, how to write a retest case, manual vs automated retesting, and how it differs from regression testing.

Key takeaways
The 30-second version of this article
Retesting, also called confirmation testing, reruns the test case that failed after a defect is fixed. It uses the same steps, test data, and environment, so the fix is the only variable. A pass moves the defect to verified, and a fail reopens it with fresh evidence for the developer.
Retesting sits between Fixed and Verified in the defect life cycle. Start only when the fix is deployed, the build number is recorded, and the original test case and data are ready. Finish when the test passes, the evidence is on the ticket, and the build goes to regression testing.
Retesting asks whether one fix works, and regression testing asks whether that change broke anything else. Retesting uses tests that failed before and has a narrow scope. Regression testing reruns tests that passed before across the application and is usually automated because the suite is large.
Retesting is often manual because it targets a single defect, but automate it when the test already exists, the area breaks often, or the fix needs several browsers or data sets. Keep every passing retest in the regression suite so the same defect cannot quietly return.

Retesting in software testing is running a failed test case again after a developer fixes the defect it found, to confirm the defect is actually gone. It is also called confirmation testing (and sometimes written re-testing), which is the term the ISTQB glossary uses. A retest uses the same steps, data, and environment as the original failure, so the only thing that changed is the fix.

Retesting answers one narrow question: did this fix work? Whether the fix broke anything else is a question for regression testing, compared in detail below.

Why retesting matters

A defect marked "fixed" is a claim, not a result. Developers fix bugs against their understanding of the report, often in a different environment from the one where the tester saw the failure. Retesting closes that gap with evidence.

Without it, teams see the same problems again:

  • A bug is marked resolved, ships, and a customer reports it again a week later.
  • A fix handles the reported case but misses a closely related input, such as an empty cart.

Retesting is cheap by comparison. It targets one test case, or a handful, and gives a clear pass or fail on a specific fix.

When should you retest?

Retest whenever a defect you logged comes back to you with a fix. In practice, that happens at these points:

  • After a defect fix is deployed to a test environment. This is the core trigger. The ticket moves to a "ready for retest" or "fixed" state, and the tester picks it up.
  • After a hotfix. Urgent production fixes still need confirmation, often on a staging copy of production before the hotfix is promoted.
  • Before a release candidate is signed off. Any open defect fixed in the release needs a passing retest before the build is approved.
  • When a defect is reopened. Each new fix attempt for a reopened defect gets its own retest.

Do not retest when no change has been made, or when the defect was closed as "won't fix" or "duplicate." Rerunning an unchanged test on an unchanged build tells you nothing new. Rerunning a failed test to check whether the environment caused it is triage, not retesting: do it before you log the defect.

Retesting example through the defect life cycle

Retesting is one state in the bug or defect life cycle. Here is one defect followed from report to close. The details are illustrative.

What is retesting? Example of retesting, and retesting vs. regression testing

An online store lets shoppers add and remove items in their cart. A tester runs the test case "Remove an item from the cart" and finds that when an item is removed, the cart total does not change. The removed item's price is still counted at checkout.

  1. New: the tester logs the defect with steps to reproduce, the expected total, the actual total, the browser, the build number, and a screen recording.
  2. Assigned: the QA lead confirms it is valid, sets the severity to high because it affects checkout, and assigns it to a front-end developer.
  3. Fixed: the developer finds that the remove action does not trigger the price recalculation, fixes it, adds a unit test, and deploys the build to staging. The ticket moves to "Fixed."
  4. Retest: (some trackers call this Pending retest) the tester runs the original test case on the new build, in the same browser, with the same products and quantities. This is the retest.
  5. Verified or Reopened: if the total updates correctly, the tester marks the defect "Verified." If the total is still wrong, or wrong in a new way, the tester reopens it with fresh evidence and it goes back to the developer.
  6. Closed: once verified, and once regression testing on the build passes, the defect is closed.

State

Who acts

What happens to the test case

New

Tester

Test case marked failed, defect linked

Assigned

QA lead, developer

Test case waits

Fixed

Developer

Test case flagged ready for retest

Retest

Tester

Same test case run on the new build

Verified or Reopened

Tester

Passed, or failed again with new evidence

Closed

QA lead or tester

Test case is added to the regression suite

The retesting process

Most teams follow the same 5 steps, whether the retest is manual or automated.

  1. Pick up the fixed defect. Read the developer's notes. Check what changed, which build contains the fix, and where it is deployed.
  2. Select or update the test case. Reuse the original failed test case if the fix did not change the workflow, steps, or expected result. Update it if the fix changed the UI or logic, if the original steps were wrong, or if the fix needs extra edge cases. If the test is automated, update the script too.
  3. Recreate the original conditions. Use the same environment, browser or device, configuration, and test data that produced the failure. The aim is to make the fix the only variable.
  4. Run the test and compare results. Execute the steps and compare the actual result with the expected result. Capture logs, screenshots, or a recording.
  5. Record the outcome and update the defect. A pass moves the defect to "Verified." A fail reopens it with new evidence. A new, unrelated problem becomes a new defect. Clear test reporting makes these handoffs fast.

Retest entry and exit criteria

Entry and exit criteria stop retesting from starting too early or ending too soon.

Entry criteria (ready to retest):

  • The defect status is "Fixed" or "Ready for retest," with a note on what changed.
  • The fix is deployed to a test environment, and the build number is recorded on the ticket.
  • The original test case, steps, and test data are available.
  • The environment matches the one where the defect was found, or the difference is documented.

Exit criteria (retest complete):

  • The original test case passes on the fixed build.
  • Any related edge cases added for the fix also pass.
  • The result, build number, and evidence are recorded on the defect.
  • The defect is moved to "Verified" or "Reopened," and any new problems are logged as new defects.
  • The build is handed over for regression testing.

How to write a retest case

A good retest case is the original test case plus a clear link to the defect. If you already know how to write test cases, the main additions are the defect ID, the build under test, and the exact conditions from the original failure. Here is the cart example written as a retest case.

Field

Example

Retest ID

RT-CART-112

Linked defect

BUG-112: cart total does not update after item removal

Build under test

4.18.2 on staging

Preconditions

Logged-in shopper, 2 items in cart: item A at $20, item B at $35

Steps

Open cart, remove item B, read the cart total

Expected result

Cart total shows $20 immediately, and the checkout subtotal shows $20

Test data

Same products, prices, and account as the original report

Environment

Chrome on Windows, same as the original report

Result

Pass or fail, with screenshot and build number

Keep retest cases small and specific. If a fix needs broader checks, add them as separate test cases so a failure points to one cause.

Manual vs automated retesting

Retesting is often manual, and for good reason. A retest usually covers a single defect, and a tester who logged the bug can confirm the fix faster than they could script it. Manual retesting also fits bugs in visual layout, usability, or one-off data conditions.

Automated retesting earns its place when:

  • The failing test case is already automated, so a rerun costs nothing.
  • The same area breaks often, so the retest will be needed again.
  • The fix must be confirmed on several browsers, devices, or data sets.
  • The defect is in an API or a calculation where inputs and outputs are easy to assert.

When you automate a retest, keep the test tied to the defect so the result is easy to trace. A short sketch in Java with TestNG:

import java.math.BigDecimal;
import org.testng.annotations.Test;
import static org.testng.Assert.assertEquals;

// Cart and Item stand in for your application's classes
public class CartRetest {

    // Retest for BUG-112: cart total does not update after item removal
    @Test(groups = {"retest", "BUG-112"})
    public void cartTotalUpdatesAfterRemovingItem() {
        Cart cart = new Cart();
        cart.add(new Item("A", new BigDecimal("20.00")));
        cart.add(new Item("B", new BigDecimal("35.00")));

        cart.remove("B");

        assertEquals(cart.getTotal(), new BigDecimal("20.00"),
            "Cart total should drop to 20.00 after removing item B");
    }
}

Once the retest passes, keep the test. Moved into the regression suite, it guards against the same defect coming back in a later build. Tools such as Katalon Studio let you run a single test case for the retest and the full suite for regression from the same project, and submit a failed result from the test report to Jira, with screenshots and logs attached, or link it to an existing issue.

Retesting vs regression testing

Retesting checks that a specific defect is fixed. Regression testing checks that recent changes, including that fix, have not broken anything that used to work. Both run after a code change, but they answer different questions.

Aspect

Retesting

Regression testing

Purpose

Confirm a specific defect is fixed

Confirm changes did not break existing features

Question it answers

Does this fix work?

Did this change break anything else?

Scope

The failed test case and closely related cases

A wide set of test cases across the application

Test cases used

The test that failed, plus new edge cases for the fix

Tests that passed before

When it runs

After a defect fix is deployed

After any code change, and after retesting for a fix

Planning

Planned per defect

Planned per release, sprint, or pipeline run

Automation

Often manual, automated when repeated

Usually automated because the suite is large and reruns often

Typical outcome

Defect verified or reopened

New defects logged, or the build approved

How retesting and regression testing work together

In the cart example, the retest confirms the total now updates. Regression testing then checks that nothing nearby broke: discount codes, shipping costs, tax, saved carts, and checkout on other browsers. The defect closes only when both pass.

Retesting usually comes first, because there is no point running a wide regression suite on a build where the main fix failed. In a CI/CD pipeline, the retest often runs as a tagged test in the same job as the automated regression suite. Read the retest result first, then the regression results.

Retesting best practices

  • Retest in the original conditions. Same environment, data, browser, and steps. Change one thing and you no longer know what fixed the bug.
  • Prioritize by severity. Retest fixes for blocking and high-severity defects first, so the release decision is not held up.
  • Use the defect ID everywhere. In the retest case, the automated test name, and the test result. It makes traceability simple.
  • Add edge cases the fix touches. If the fix is in a calculation, check zero, one, and many items, not only the reported input.
  • Log new problems as new defects. Do not reopen the original for an unrelated failure.
  • Keep passing retests. Add them to the regression suite so the same defect cannot quietly return.

Conclusion

Retesting, or confirmation testing, is the step that turns "fixed" into "verified." Run the original test case again under the original conditions, record the result against the defect, and then hand the build to regression testing. Done consistently, it keeps defects from coming back and gives developers and testers a shared, evidence-based view of what is actually resolved.

Frequently asked questions

Huyen Nguyen
Huyen NguyenTechnical Writer, Katalon

Huyen Nguyen is an experienced technical writer in the software testing industry. With strong technical expertise and a deep understanding of Katalon products, she creates clear, practical guides that support testers at every skill level.

Connect on LinkedIn →
Get started

Test everything. Ship with confidence.

From generating test cases to spotting failures, Katalon's AI works across your entire pipeline, automatically.

The Next Evolution of Manual Testing: Introducing Katalon AI Test Runner

Introducing Katalon AI Test Runner. Watch it run manual test cases live, with evidence for every pass and fail.

Live webinar
9:00 to 10:00 AM EST · Live online
Alex MartinsVP of Strategy
Gia EspositoSenior Solutions Engineer
Save your seat