Arunkumar Khannur's Software Testing Knowledge Center

4.9 Application of Path Testing

Path testing methods are mainly used in unit testing. However to create an environment in order to provide required inputs and also to receive the outputs from such units, we need to do test harness in order to create environment with required test stubs and test drivers.

In order to perform testing in sub routines that need to be integrated, we have to think about paths within the sub routine. Then to achieve test coverage both statement coverage (C1) and branch coverage (C2). We need to create control flow graph, arrive at equivalent predicate notation representation, list predicate paths, identify predicate, identify predicate values for each of identified paths and finally select appropriate input values that would result in required predicate values and their by execute corresponding path.
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