Realizing the Benefits of Testability

Testing can be one of the most expensive parts of the product life cycle. Anything that can be done to reduce the cost of testing is obviously a huge benefit. Architecting and designing testability into a product from the start go a long way toward reducing the cost of testing and making maintenance of the software easier (that is, more cost effective).

Software that is highly testable also tends to be well designed. In the Net Objectives Design Patterns[1] curriculum based on the book Design Patterns Explained: A New Perspective on Object-Oriented Design,[2] by Alan Shalloway and James R. Trott, the authors state that there is an important link between testability and good design: “Easy testability is tightly ...

Get The Practical Guide to Defect Prevention 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.