Beruflich Dokumente
Kultur Dokumente
Testing
Garreth Davies
Examples
TriangleProblem
Next Date Function Problem
Testing Properties
Testing Effort
Guidelines & Observations
Equivalence Class Testing
What is Equivalence Class Testing?
x1
g
f
x2
a b c d
Strong Normal Equivalence Class Testing
x2
a b c d
Robust Equivalence Class Testing
x2
a b c d
Strong Robust Equivalence Class Testing
x1
g
f
x2
a b c d
Examples
Triangle Problem
Triangle Problem
Four possible outputs – NotA-Triangle, Scalene, Isosceles and
Equilateral.
Test C ase a b c E xp e c te d O u tp u t
W N1 5 5 5 E q u ila te ra l
W N2 2 2 3 Is o s c e le s
W N3 3 4 5 S c a le n e
W N4 4 1 2 N o t a T ria n g le
Triangle Problem
Weak robust Equivalence Class Test Cases
high
EC techniques pay
attention to the low
function itself. More Sophistication
10
0
age
20 40 60 80 100
Case Study
Equivalence class testing clearly reduces redundancy.
Why test point classes P2-P5 for A1?
Decision table testing improves on this.
points
15
10
0
age
20 40 60 80 100