Tutorial by Examples

These are loops in which their loop body contains no other loops (the innermost loop in case of nested). In order to have loop coverage, testers should exercise the tests given below. Test 1 :Design a test in which loop body shouldn’t execute at all (i.e. zero iterations) Test 2 :Design a test in...
A nested loop is a loop within a loop. The outer loop changes only after the inner loop is completely finished / interrupted. In this case, test cases should be designed in such a way that Start at the innermost loop. Set all the outer loops to their minimum values. Perform Simple loop testing o...
Two loops are concatenated if it’s possible to reach one after exiting the other on same path from entrance to exit. Sometimes these two loops are independent to each other. In those cases we can apply the design techniques specified as part of single loop testing. But if the iteration values in on...

Page 1 of 1