Professional Documents
Culture Documents
08 - Black-Box Testing PDF
08 - Black-Box Testing PDF
Eshcar Hillel
Tutorial Outline
Test plan
Black-Box means
Testing by Specification
Functional requirements
Use cases
Class specification
System
Try to
break
the
system
Testing Paradigms
Requirement and
Use Case Testing
Requirement document
The requirements
Use case model
need to be testable
User manual
Customer stories (in extreme programming)
Trivial case
Simple case
Complex case
Alternatives
Exceptions
The
majority
of test
cases
Requirement and
Use Case Testing
Pros:
Cons:
Function Testing
10
Success
Fail
r
Success
null
Success
Different
combinations
yield different
test cases
Function Testing
Pros:
Cons:
11
Domain Testing
12
Domain Testing:
Boundary Analysis
13
c
a
14
x
Black Box Testing
y
d
..
.. ..
.
a
15
..
b
y
d
..
... ..
..
a
16
y
d
....
....
..
a
17
..
..
.
..
..
....
..
b
y
d
...
...
...
...
...
...
...
a
18
...
.
...
Domain Testing
Pros:
Cons:
19
Equivalent hardware
20
groups of printers
Test plan
21
Test Procedure
Req Verify that
Test description
1.
The
administrator can
remove rooms
2.
3.
4.
22
Only the
administrator can
remove rooms
Expected result
The room does not
appear in the selection
Error message
indicating the user
cannot remove a room
Black Box Testing
23
Test
description
Expected
result
Pass/Fail
Failure analysis