Beruflich Dokumente
Kultur Dokumente
Loop Testing?
Loop testing is a white box testing technique that focuses exclusively on the validity of loop constructs.
Types of Loops
(.*i"ple loops-Simple Loops are loops whose loop bodies contain no other loops +. ,ested loops-Nested Loops are co"binations of loops such that each is contained inside the loop body of the next. -. .oncatenated loops /. 0nstructured loops
3xa"ple
44range 5 to (5 int n6(5 for int i657 i86n7i))! 9 print :welco"e;!7 <
' ( + ,
3xa"ple
44range 5 to (5 int n6(5 for int i657 i86n7i))! 9 for int ?6(7 i86@7?))! 9 print :welco"e;!7 < <
0nstructured loops
This class of loops should be redesigned to reflect the use of structured progra""ing constructs.