Arunkumar Khannur's Software Testing Knowledge Center

4.6 Providing Appropriate Inputs

Picking appropriate test paths using path selection criteria and path testing criteria does not guarantee adequate path testing since they alone cannot ensure execution of all alternative paths in branch statement. Thus, after selecting appropriate test paths, there is a need to provide appropriate input values so as to ensure that the Boolean expression associated with the branch statement will fulfil possible conditions and thereby causing execution of each possible paths. This section provides insights on associated Boolean expression in the branch statement, finer points in giving inputs to the Boolean expression, details on the Boolean expression is interpreted, variables and their implication on Boolean expressions, interpretation of Boolean expression using inputs, and Boolean expression coverage. We describe all these with the help of concepts like predicates, path predicates and achievable paths.

  • Predicates and Path Predicates
  • Path Predicate Expressions: Achievable and Unachievable Paths
  • Compound Predicates
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