Testing Object-oriented Systems: Models, Patterns, and Tools
More than ever, mission-critical and business-critical applications depend on object-oriented (OO) software. Testing techniques tailored to the unique challenges of OO technology are necessary to achieve high reliability and quality. "Testing Object-Oriented Systems: Models, Patterns, and Tools" is an authoritative guide to designing and automating test suites for OO applications.
This comprehensive book explains why testing must be model-based and provides in-depth coverage of techniques to develop testable models from state machines, combinational logic, and the Unified Modeling Language (UML). It introduces the test design pattern and presents 37 patterns that explain how to design responsibility-based test suites, how to tailor integration and regression testing for OO code, how to test reusable components and frameworks, and how to develop highly effective test suites from use cases.
Effective testing must be automated and must leverage object technology. The author describes how to design and code specification-based assertions to offset testability losses due to inheritance and polymorphism. Fifteen micro-patterns present oracle strategies--practical solutions for one of the hardest problems in test design. Seventeen design patterns explain how to automate your test suites with a coherent OO test harness framework.
The author provides thorough coverage of testing issues such as:
Real-world experience, world-class best practices, and the latest research in object-oriented testing are included. Practical examples illustrate test design and test automation for Ada 95, C++, Eiffel, Java, Objective-C, and Smalltalk. The UML is used throughout, but the test design patterns apply to systems developed with any OO language or methodology.
What people are saying - Write a review
LibraryThing ReviewUser Review - lorin - LibraryThing
Affectionally referred to as "TOOS", this book is a reference for various patterns of testing object-oriented software. This book is *huge*, and I hope to finish it someday. Read full review
Regarding to the example for retested by profile, is the formula incorrect? as 5T + (0.005 x200) 5 = 6000 could not result T = 5000.
A Small Challenge
How to Use This Book
A Brief Introduction
Testing and Objectoriented Software
Chapter State Machines
Test Harness Design
19A Driver Patterns