Certopolis

ISTQB Certified Tester Foundation Level

Testing vs debugging vs quality assurance (ISTQB CTFL)

Testing finds defects, or triggers failures that reveal them. Debugging is the separate work of locating, analysing and removing a defect. Quality assurance is process-oriented and preventive: it improves how the work is done. ISTQB's CTFL v4.0 syllabus treats testing as one form of quality control, which is product-oriented and corrective.

What is the difference between testing and debugging?

Dynamic testing runs the software and can trigger a failure. Debugging starts after that. It has three typical steps: reproduce the failure, diagnose it by finding the defect behind it, and fix the defect. Debugging is not a testing activity.

Testing does not remove anything. It raises quality only indirectly, once debugging has removed the defects that testing exposed.

After the fix, confirmation testing checks that the fix solved the problem. That is testing again, not debugging. The syllabus prefers that the person who ran the original test does it. Regression testing can follow, to check that the fix has not broken something elsewhere in the test object.

Static testing works differently. A review or a static analysis tool finds the defect itself and cannot cause a failure. Debugging then means removing the defect only. There is no failure to reproduce and nothing to diagnose.

How is testing different from quality assurance (QA)?

People use the two words as if they meant the same thing. The syllabus says they do not. Testing is one of the main forms of quality control. It looks at the product and is corrective. The others include simulation, prototyping and formal methods such as model checking and proof of correctness.

QA looks at the process and is preventive. It puts processes in place and improves them, on the assumption that a good process followed correctly produces a good product. QA covers both the development process and the test process, and everyone on the project is responsible for it.

Both use test results. Testing uses them to get defects fixed. QA reads them as a signal of how well the development and test processes are working.

Verification vs validation

Testing involves both. Verification checks whether the system meets its specified requirements. Validation checks whether the system meets the needs of users and other stakeholders in its operational environment.

The syllabus lists two common misconceptions: that testing is only running tests and checking results, and that testing is only verification. Testing also includes activities such as planning, analysis and design, and it includes static testing, which does not execute the software at all.

Where the exam catches people

  • Believing that rerunning a failed test after a fix is debugging: it is confirmation testing, which is a testing activity.
  • Believing a defect found in a review must be reproduced and diagnosed: static testing finds the defect directly, so debugging is only its removal.
  • Believing testing and QA are two names for one activity: testing is product-oriented and corrective, QA is process-oriented and preventive.
  • Believing testing raises quality by itself: quality rises only when debugging removes the defects that testing found.
  • Believing QA belongs to the test team: it applies to development and testing, and it is everyone's responsibility.

Written from these sources

Try 3 questions on this

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

  1. During system testing, a tester runs a test case and sees that the order total is wrong. A developer then steps through the code, finds a rounding defect and corrects it. Which of the following classifies these two activities correctly? 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

    The syllabus treats these as separate activities, usually done by different people.

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

  2. During a review of a requirements specification, a reviewer finds that two requirements contradict each other. Which of the following describes the debugging this defect needs? Select ONE option.

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

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

  3. Which of the following correctly contrasts testing with quality assurance (QA)? 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

    The syllabus stresses that the two are not the same.

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

Ask for something