Certopolis

ISTQB Certified Tester Foundation Level

The seven testing principles explained for ISTQB CTFL

ISTQB's CTFL v4.0 syllabus lists seven principles: testing shows the presence, not the absence, of defects; exhaustive testing is impossible; early testing saves time and money; defects cluster together; tests wear out; testing is context dependent; and the absence-of-defects fallacy. Exam questions describe a situation and ask which principle it illustrates.

What does each principle say?

Testing shows the presence, not the absence, of defects. A test can reveal that defects exist. Testing lowers the chance that defects stay undiscovered, but finding none does not prove the test object is correct. Exhaustive testing is impossible. Outside trivial cases nobody can test everything, so effort is focused with test techniques, test case prioritization and risk-based testing.

Early testing saves time and money. A defect removed early does not cause further defects in the work products derived from it, and fewer failures happen later. Both static and dynamic testing should start as early as possible. Defects cluster together. Most of the defects found, or most of the failures in operation, usually come from a few components. The syllabus calls this an illustration of the Pareto principle.

Tests wear out. Repeating the same tests many times makes them less and less effective at finding new defects. The remedy is to change existing tests and test data and to write new tests. Testing is context dependent. No single approach fits every situation.

Absence-of-defects fallacy. Expecting verification alone to make a system successful is a mistake. A system can pass thorough testing of every specified requirement, have every found defect fixed, and still not meet users' needs, not help the customer's business goals, or be worse than competing systems. Validation is needed as well as verification.

Which principles do exam scenarios mix up?

Presence-not-absence and the absence-of-defects fallacy sound alike. The first is about what testing can prove: a clean test run is not proof that no defects remain. The second is about what makes a product succeed: even a product with no known defects fails if it is not what users need.

Tests wear out has an exception. Repeating the same tests can be useful, and the syllabus gives automated regression testing as the example. The principle is about finding new defects, not about checking that existing behaviour still works.

Defect clusters feed risk-based testing. Clusters that are predicted, and clusters actually seen in testing or in live use, help decide where to concentrate test effort. A module that produced most of the past failures gets more testing, not less, even after those defects were fixed.

Where the exam catches people

  • Reading a test run with no failures as proof the software is defect-free: testing can show defects are present but cannot prove there are none.
  • Picking presence-not-absence when the scenario is a defect-free product nobody wants: that is the absence-of-defects fallacy.
  • Believing tests wear out means regression tests should not be repeated: the syllabus names automated regression testing as a case where repetition helps.
  • Spreading test effort evenly across all components when history shows a few cause most failures: defects cluster, so effort follows the clusters.
  • Believing early testing means only reviews: both static testing and dynamic testing should start as early as possible.

Written from these sources

Try 3 questions on this

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

  1. Every requirement in the specification had passing tests at release, and no defects were left open. Within a month, customers stop using the product because it does not support the way they actually place orders. Which testing principle explains this outcome? Select ONE option.

    Right. In the game that’s Renown for your Fundamentals of Testing building.

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

    Show the full explanation and doc quotes

    The detail that customers reject the product's way of working, rather than reporting faults, is what rules out the presence-not-absence principle.

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

  2. For two years, a team has executed the same 200 manual test cases before every release. Each run now finds almost no new defects, while exploratory sessions on the same features still find several. Which testing principle explains why the repeated test cases find so few new defects? Select ONE option.

    Right. In the game that’s Renown for your Fundamentals of Testing building.

    Not that one: A is right. In the game your Fundamentals of Testing building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    So defects remain, but the fixed suite keeps walking the paths it has always walked and has stopped reaching them. That decline through repetition is the principle that tests wear out. The cure is to change the existing cases and their data and to write new ones.

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

  3. A release of a 40-module system has one week of testing, far too little to test everything. Over the last four releases, three modules caused most of the failures reported in operation, and each of the defects behind them was fixed. Which of the following is the BEST use of the week? Select ONE option.

    Right. In the game that’s Renown for your Fundamentals of Testing building.

    Not that one: D is right. In the game your Fundamentals of Testing building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    Fixing the defects that were found does not change what the history says about those modules, so they should take most of the week.

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

Ask for something