Structured Testing - McCabe and Associates
Structured Testing - McCabe and Associates
Structured Testing - McCabe and Associates
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
viii<br />
5.3 Complexity <strong>and</strong> reliability........................................................................................... 34<br />
5.4 <strong>Structured</strong> testing example.......................................................................................... 34<br />
5.5 Weak structured testing ............................................................................................... 37<br />
5.6 Advantages of automation........................................................................................... 38<br />
5.7 Critical software.......................................................................................................... 39<br />
6 The Baseline Method....................................................41<br />
6.1 Generating a basis set of paths.................................................................................... 41<br />
6.2 The simplified baseline method .................................................................................. 41<br />
6.3 The baseline method in practice.................................................................................. 42<br />
6.4 Example of the baseline method ................................................................................. 44<br />
6.5 Completing testing with the baseline method ............................................................. 46<br />
7 Integration <strong>Testing</strong>........................................................47<br />
7.1 Integration strategies ................................................................................................... 47<br />
7.2 Combining module testing <strong>and</strong> integration testing ..................................................... 48<br />
7.3 Generalization of module testing criteria.................................................................... 49<br />
7.4 Module design complexity.......................................................................................... 50<br />
7.5 Integration complexity ................................................................................................ 54<br />
7.6 Incremental integration ............................................................................................... 57<br />
8 <strong>Testing</strong> Object-Oriented Programs .............................59<br />
8.1 Benefits <strong>and</strong> dangers of abstraction ............................................................................ 59<br />
8.2 Object-oriented module testing................................................................................... 60<br />
8.3 Integration testing of object-oriented programs.......................................................... 61<br />
8.4 Avoiding unnecessary testing...................................................................................... 65<br />
9 Complexity Reduction ..................................................67<br />
9.1 Actual complexity <strong>and</strong> realizable complexity............................................................. 67<br />
9.2 Removing control dependencies ................................................................................. 71<br />
9.3 Trade-offs when reducing complexity ........................................................................ 74<br />
10 Essential Complexity....................................................79<br />
10.1 <strong>Structured</strong> programming <strong>and</strong> maintainability ........................................................... 79<br />
10.2 Definition of essential complexity, ev(G) ................................................................. 80<br />
10.3 Examples of essential complexity............................................................................. 81