CSC 4110 Lecture Notes - Lecture 23: Savings Account, Equivalence Partitioning

22 views4 pages

Document Summary

Csc 4110 lecture 23: path based testing. I do the loop twice not taking the if first and then taking it the second time. I do the loop taking the if both times. I do the loop once and with the if. Example: path-based testing: draw the cfg, paths. [1, 2, 3, 4, 6, 7, 2, 9] -> loop 1 time with first if true and second if false, third if false. [1, 2, 3, 4, 6, 8, 2, 9] -> loop 1 time with first if true and second if false, third if false, fourth if false. If one condition in a partition works, we assume all of the conditions in that partition will work, and so there is little point in testing any of these others. Similarly, if one of the conditions in a partition does not work, then we assume that none of the conditions in that partition will work.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions