volume_mute

Path Testing Concept

publish date2026/06/18 03:41:36.443869 UTC

volume_mute

Path testing is a testing strategy described as targeting every independent execution path through a component or program. Which of the following correctly describes what path testing achieves when every independent path is executed?

Correct Answer

All statements have been executed at least once and all conditional statements tested for both true and false cases

Explanation

Path testing aims to exercise every independent execution path. When every independent path is executed, all statements must have been executed at least once, and all conditional statements are tested for both true and false cases. In object-oriented development, path testing is often applied to the methods associated with objects.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears