Test levels and methods
Confirmation testing
Confirmation testing checks after a fix whether a reported defect has actually been resolved. It repeats exactly the test that originally found the defect.
Also known as: re-testing, retest, confirmation test
Confirmation and regression testing
The two terms are often confused, but they answer different questions:
- Confirmation testing: is this defect fixed now?
- Regression testing: did the fix break something elsewhere?
Every bug fix needs both.
From retest to lasting protection
A proven approach: before fixing the defect, write an automated test that reproduces it and therefore fails. After the fix it passes. This test serves as the confirmation test and then stays in the suite as a regression test, so the same defect can never silently return.
Watch out for
The confirmation test should run under the same conditions as the original test: same test data, same test environment, same hardware revision. Otherwise it remains unclear whether the defect is fixed or just no longer shows up.