Arunkumar Khannur's Software Testing Knowledge Center

4.3 Steps in Path Testing

In path testing, by having a complete knowledge of the structure of the program, program’s control flow model will be built. From this flow model, with a lot of analysis a set of test paths through the program are selected. Then, using appropriate input values, testers try to execute every source statement at least once. Based on the number of statements and branches that are successfully executed, conclusion is drawn on test thoroughness.

In order to carry out path testing, following steps are being used:
STEP 1: Construct Control Flow Graph
STEP 2: Arrive at Test Paths
STEP 3: Provide appropriate input to check whether every source statement has been executed at least once
STEP 4: Based on that provide measurement that is indicative of test thoroughness
In the following sections, these steps are described.
Khannur's Book
Arunkumar Khannur, Software Testing - Techniques and Applications, Published by Pearson Publications, 2011 (ISBN:978-81-317-5836-6; Pages:341 + xxii)
Follow Khannur
Khannur's Company
ISQT Process & Consulting Services Pvt. Ltd., Bangalore, INDIA
Khannur's Software Testing Forum
 Contact Khannur
ISQT Process & Consulting Services Pvt. Ltd.
#732, 1st Floor, 12th Main,
3rd Block, Rajajinagar,
Bangalore - 560010, INDIA
Phone: +91 80 23012511
Skype: arun.isqt