Professional Documents
Culture Documents
Black Box Testing
Black Box Testing
M. DANIYAL MUGHAL
BCSE-8A
What?
Types
Equivalence Partitioning
Equivalence Partitioning
Steps
1.
2.
3.
4.
Example
Input
A integer N such that:
-99 <= N <= 99
Example continued..
Input
[-99, -10]
[-9, -1]
0
[1, 9]
[10, 99]
Example continued..
Input
[-99, -10]
[-9, -1]
0
[1, 9]
[10, 99]
< -99
> 99
Malformed numbers
{12-, 1-2-3, }
Non-numeric strings
{junk, 1E2, $13}
Empty value
BVA-Example
Suppose system asks for a number between 100 and 999 inclusive.
100
101
lower boundary
998
999
upper boundary
1000
BVA-Example Continued..
Input
A number N such that:
-99 <= N <= 99
Boundary Cases
BVA-Example continued..
Input
Boundary Cases
Thank you