Beruflich Dokumente
Kultur Dokumente
Part A – Unit 3
Test Generation from Requirements – 1
Introduction
Requirements
Business users
Use- Design
Specs Diagrams cases
Analysts / docs
Designers
Generation of
tests from
Test cases informally as
Testers well as rigorously
specified
requirements
06CS842/IS81 SOFTWARE TESTING/RVH/SDMIT 2
Test selection – Informal sources
Requirements
Informal/Rigourous
Equivalence
Predicate based
Partitioning
Boundary-value
Combinatorial
analysis
Cause-effect
Statistical
graphing
Decision tables
Model-based
techniques
Formal
Specification-
based techniques
1-2
1 2 2
1
3 3
4 4
Term (3 to 25 yrs)
cmd
(temp, cancel, shut) GUI
Control Software (CS)
Tempch
{-10, -5, 5, 10}
S = V x F x cmd x tempch
2 2
1
Correct
Correct Correct
values
values values
GUI-A GUI-B
0 2 99 101
_____*__x__*____________*__x__*_______
<- E4 1 E5 100 E6 ->
Qty
06CS842/IS81 SOFTWARE TESTING/RVH/SDMIT 19
BVA: Test set
T = { t1 : (code = 98, qty = 0),
t2 : (code = 99, qty = 1),
t3 : (code = 100, qty = 2),
t4 : (code = 998, qty = 99),
t5 : (code = 999, qty = 100),
t6 : (code = 1000, qty = 101),
}