MSc-IT Study Material
January 2011 Edition

Computer Science Department, University of Cape Town
| MIT Notes Home | Edition Home |

Chapter 9. Software Testing

Table of Contents

Objectives
Introduction to software testing
The testers
The developers
An independent testing team
The customer
Principles of software testing
The completion of software testing
Writing testable software
Test cases and test case design
Testing strategies
Unit testing
Integration testing
Validation testing
System testing
Testing advice
Flow graphs, cyclomatic complexity and white-box testing
Black-box testing
Object-oriented testing
Debugging
Brute force debugging
Backtracking
Cause elimination
Bisect
Review
Questions
Answers

Objectives

At the end of this chapter you have gained an understanding of:

  • What software bugs are.

  • Who tests the software.

  • How to write testable software.

  • Various testing strategies, including unit testing and regression testing.

  • Debugging.