wisconsin
Chapter 15: Testing and Debugging

Chapter 15: Testing and Debugging

Content locked

The catalog is public. Reading this content requires approved access.

Sign in to read
Chapter 15: Testing and Debugging
15
Testing and Debugging
15.1 Introduction
15.2 Types of Errors
15.2.1 Syntactic Errors
15.2.2 Semantic Errors
15.2.3 Algorithmic Errors
15.2.4 Specification Errors
15.3 Testing
15.3.1 Black-Box Testing
15.3.2 White-Box Testing
15.4 Debugging
15.4.1 Ad Hoc Techniques
15.4.2 Source-Level Debuggers
15.4.2.1 Breakpoints
15.4.2.2 Single-Stepping
15.4.2.3 Examining Values
15.5 Programming for Correctness
15.5.1 Nailing Down the Specifications
15.5.2 Modular Design
15.5.3 Defensive Programming
15.6 Summary
Exercises
Source