Part IV

Phases of Testing

Software testing pervades the entire software development process. This part of the book focuses on three phases of testing: unit testing, regression testing, and integration testing. A significant challenge in regression testing is the selection of tests to rerun. Methods for the selection of a subset of tests to rerun are covered in Chapter 9. Unit testing is covered in Chapter 10. Unit testing is used widely in the industry. Here the focus is on tools for unit testing and some techniques, e.g., the use of mock objects, that make unit testing easier.

Deciding a suitable sequence in which components of a system are to be integrated is the test order problem. There exist several solutions to this problem. Some of these ...

Get Foundations of Software Testing, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.