Professional Documents
Culture Documents
1. Equivalence Partitioning
EX3:
It is process oriented.
Lower boundary
Upper
On boundary
Test case design by BVA proceeds 3 steps:
Check input variable value at the min, just above min, just
below min, normal, at the max, just belo max, just above max.
Example
0-3 {-1,0,1},{2,3,4}
4-28 {3,4,5},{27,28,29}
28+1
Cause-and –Effect Graphing
Steps:
Causes are placed on left side and effect are placed in right side.
The columns in the decision table are transformed into test cases.
Example
2. The specification states that the user must input the length of
the string and the char to search for
5. If the char is not in the string the message not found will be
output.
Causes
Effects:
If C1 and C2 then E2
String : “abcde”
T2 5 W Not found
T3 90 Integer not
found
T1 T2 T3
C1 1 1 0
C2 1 0 --
E1 0 0 1
E2 1 0 0
E3 0 1 0
If C1 and C2 then E2
String : “abcde”