Produktinformation
Möchten Sie die Produktinformationen aktualisieren oder Feedback zu den Produktabbildungen geben?
Ist der Verkauf dieses Produkts für Sie nicht akzeptabel? |
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.
I developed software for 12 years in a "testing-by-use-cases" company. Over 50% of the bugs coming out of our system tests were unit test problems! Argh! I can't wait to start using the great stuff in this book. An example: a table in Chapter 8 lists the various UML diagrams and how they can be related to test design patterns.
If you play any role in the development of OO software, you need this book. And if Chapter 4, which points out exactly the problems that come with OO software and how to make the necessary changes to manage them, and section 2.3 "FAQs for Object-oriented Testing" do not convince you to take a new look at your approach to testing, you are probably beyond hope. A spot has already been reserved on my bookshelf for the promised companion volume.
Object-oriented languages, while recognised as a clear forward step in programming technology, introduce new ways for defects to be introduced. Inheritance and polymorphism both are powerful concepts, but also carry the potential for insidious defects. This book introduces fundamental techniques to analyse the class design and derive appropriate tests for its behaviour.
I regard Bob's book as a must for developers. However I wonder if they will read it. This is not a criticism on this book, quite the contrary. My concern is related to the insight that most programmers see unit testing as an afterthought and not as a major component of their work. Often unit testing is seen as difficult, because of the complexities of class behaviour. And it is so easy to pass this burden on to system testing.
My message for developers is, make the attempt to read it! It actually makes it easier to design and implement unit testing. It also pays off. You will have less requests for bugfixes coming back from testing.
It has been long my contention that it is in the interest of the testing community to get out of its own trenches and start working closely with developers, making it easy for them to implement effective unit testing. This book is a good start in this direction.
|
Das Forum zu diesem Produkt
Fragen stellen, Meinungen austauschen, Einblicke gewinnen Aktive Diskussionen in ähnlichen Foren
Kundendiskussionen durchsuchen
|
Ähnliche Foren
|
||||||||||||||||||||||||||||||||||
|
|