Certopolis

ISTQB Certified Tester Foundation Level

Confirmation testing vs regression testing (ISTQB CTFL)

Confirmation testing checks that an original defect has been fixed, by rerunning the tests that failed because of it or by adding tests for the change. Regression testing checks that a change, including a fix already confirmed, has caused no harm elsewhere. ISTQB's CTFL v4.0 syllabus requires both at every test level where changes are made.

What does confirmation testing check?

It confirms that the original defect is gone. Depending on the risk, the fixed version can be tested by running every test that previously failed because of the defect, and also by adding new tests that cover the changes made for the fix.

When time or money is short, confirmation testing may be limited to repeating the steps that should reproduce the failure and checking that the failure no longer occurs.

What does regression testing check?

It confirms that a change has had no adverse consequences. The change can be a new feature or a fix, including a fix that has already passed confirmation testing. The harm could be in the component that changed, in other components of the same system, or in other connected systems. Regression testing can also concern the environment, not only the test object.

The syllabus advises doing an impact analysis first. It identifies the areas the change might touch, and so how much regression testing is needed.

Regression suites are run many times and usually grow with every iteration or release, which makes regression testing a strong candidate for automation. Start automating early in the project. Where continuous integration is used, it is good practice to include automated regression tests, possibly at several test levels.

How does maintenance testing use them?

Testing a change to an operational system has two parts: evaluating whether the change was implemented successfully, and checking for regressions in the parts of the system that did not change, which is usually most of it. Impact analysis may be done before the change is made, to help decide whether to make it at all.

Three things usually set how much maintenance testing is done: how risky the change is, how large the change is, and how large the existing system is.

Three kinds of trigger exist. Modifications: planned enhancements, corrective changes and hot fixes. Upgrades or migrations, where the operational environment changes: these can call for tests of the new environment and of data conversion. Retirement: this can call for testing of data archiving, and of the procedures for restoring and retrieving archived data.

Where the exam catches people

  • Calling any rerun of a test regression testing: rerunning the test that failed because of the fixed defect is confirmation testing. Rerunning tests after a different change to look for side effects is regression testing.
  • Believing a fix that passed confirmation testing needs no more testing: regression testing still checks that the fix harmed nothing else.
  • Believing regression testing looks only at the changed component: side effects can appear in other components and in connected systems.
  • Running the whole regression suite by default when time is short: impact analysis comes first and shows which parts could be affected.
  • Believing confirmation and regression testing belong to system testing only: they are needed at every test level where defects are fixed or changes are made.

Written from these sources

Try 3 questions on this

Pick an answer to see why each option is right or wrong.

  1. After a defect in the discount rule is fixed, a tester reruns the test that had failed, and it passes. The next day, after an unrelated change to the shipping module, the tester runs that same test again together with the other checkout tests. Which of the following BEST describes the second run of that test? Select ONE option.

    Right. In the game that’s Renown for your Testing Throughout the Software Development Lifecycle building.

    Not that one: B is right. In the game your Testing Throughout the Software Development Lifecycle building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    The second run follows the shipping change and protects the confirmed discount fix, so it is regression testing.

    Written from istqb.org/wp-content/uploads/2024/11/ISTQB_CTFL_Syllabus_v4.0.1.pdf

  2. A fix for a defect in the loyalty-points calculation has just been delivered. Impact analysis shows the change could affect the checkout and monthly statement components. The test lead must plan the testing of this fix. Which of the following plans is BEST? Select ONE option.

    Right. In the game that’s Renown for your Testing Throughout the Software Development Lifecycle building.

    Not that one: C is right. In the game your Testing Throughout the Software Development Lifecycle building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    Regression testing then checks that the change, a fix already confirmed, caused no adverse effects, and the impact analysis points it at the checkout and statement components.

    Written from istqb.org/wp-content/uploads/2024/11/ISTQB_CTFL_Syllabus_v4.0.1.pdf

  3. A hot fix corrects the seat count shown at checkout in an operational ticketing system. The developer changed one line in the checkout module. The test manager must now set the scope of maintenance testing for the hot fix. Which of the following is CORRECT? Select ONE option.

    Right. In the game that’s Renown for your Testing Throughout the Software Development Lifecycle building.

    Not that one: C is right. In the game your Testing Throughout the Software Development Lifecycle building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    The syllabus puts both inside maintenance testing, and it points out that the untouched part is usually most of the system. Only confirming the fix and then looking beyond the changed module answers both.

    Written from istqb.org/wp-content/uploads/2024/11/ISTQB_CTFL_Syllabus_v4.0.1.pdf

Ask for something