Black Box – BVT on 2 Variables software testing
Black Box – BVT on 2 Variables software testing
Suppose we have two variables x1 and x2 to test.
The range of x1: 10 to 90.
The range of x2: 20 to 70.
X1 | X2 | |
Min | 10 | 20 |
Min+ | 11 | 21 |
Nominal | 50 | 45 |
Max- | 89 | 69 |
Max | 90 | 70 |
Figure: Testing points detected in Simple Boundary Value Testing.
Video Lecture
Try Automatic Tool to generate test cases – Click Here
Test cases.
Total Test cases =
(Number of variables * Number of testing points without nominal ) + (1 for Nominal)
9=2*4+1
There are total 2 variables x1 and x2.
There are 4 possible values like min, min+, max- and max.
1 is for nominal.
We can generate 9 test cases from both variables x1 and x2
Test Case# | X1,X2 | Test Case # | X1,X2 | Test Case # | X1,X2 |
1 | 10,45 | 2 | 11,45 | 3 | 50,45 |
4 | 89,45 | 5 | 90,45 | 6 | 50,20 |
7 | 50,21 | 8 | 50,69 | 9 | 50,70 |
Figure: Testing cases generated in Simple Boundary Value Testing using 2 variables.