Software Testing Bible5. A Testing Life Cycle Requirement Specs Design Coding Testing Fault Resolution Fault Isolation Fault Classification Error Fault Fault Fault Error Error incident Fix 10. Relationship – program behaviors Program Behaviors Specified (expected) Behavior Programmed (observed) Behavior Fault Of Omission Fault Of Commission Correct portion 12. Relationship – Testing wrt Behavior Program Behaviors Specified (expected) Behavior Programmed (observed) Behavior Test Cases (Verified behavior) 8 7 5 6 1 4 3 2 54. Cause effect graph- Decision table Cause 1 Cause 2 Cause 3 Cause 4 Cause 5 Effect 1 Effect 2 Effect 3 Test 1 Test 2 Test 3 Test 4 Test 5 I I I I I I I S I X S S S S S P P S I S A A A A A P P P A A A A A X X X X X X I 97. DU Chain Example 1 X(){ 2 a=5; /* Defines variable a */ 3 While(C1) { 4 if (C2) 5 b=a*a; /*Uses variable a */ 6 a=a-1; /* Defines variable a */ 7 } 8 print(a); } /*Uses variable a */ 118. Example int main(){ int i,s; i=1; s=1; while(i<=10){ s=s+i; i++;} printf(“%d”,s); printf(“%d”,i); } 130. Example Structured Design root Get-good-data Compute-solution Display-solution Get-data Validate -data Valid-numbers Valid-numbers rms rms