Ch02 MDTD
Ch02 MDTD
Ch02 MDTD
Testing
(2nd edition)
Chapter 2
http://www.cs.gmu.edu/~offutt/softwaretest/
Class A Class B
Intra-class testing : Test
method mA1() method mB1() an entire class as
sequences of calls
method mA2() method mB2()
Inter-method testing :
Test pairs of methods in
the same class
Intra-method testing :
Test each method
individually
1. Graphs
2. Logic expressions
3. Input domains
4. Syntax descriptions
Introduction to Software Testing, Edition 2 (Ch 2) © Ammann & Offutt 11
Model-Driven Test Design
Test Design is the process of designing input values that
will effectively test software