Arunkumar Khannur's Software Testing Knowledge Center

4.8 Path Instrumentation

In order to confirm that the outcome is achieved by the intended path by using flow graphs and path testing techniques, we need to select and supply appropriate paths.
The general strategy to carry out this as follows:
Step 1: Form control flow graph for a given program segment.
Step 2: Represent equivalent representation using predicate notations.
Step 3: List out all paths in the control flow graph.
Step 4: Pick one path and write corresponding predicate value for each of the predicate. Repeat this exercise for each path and allocate predicate values against each one of them.
Step 5: Select appropriate input value so that the truth or false value corresponding to each path is satisfied in order to make the path achievable.
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