Chapter 6. Testing Interactions
Want to understand different types of interactions? See Object Interactions.
Only have time to run some of the test cases you can think of? See Sampling Test Cases.
Want to reuse the design of your test software? See Test Patterns.
Need to know how tos test code that throws exceptions? See Testing Exceptions.
An object-oriented program comprises a collection of objects that collaborate to solve some problem. The ways in which those objects collaborate determine what a program does and, consequently, the correctness of a program's execution. An instance of a trusted primitive class, for example, may contain no faults, but if the services of that instance are not used correctly by other program components, then the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access