Skip to content

Details

In this final chapter, Metz covers best practices for writing tests. By employing loose coupling and reusability, the object-oriented designer can create efficient and trustworthy tests.
Below are a few questions to get our conversation started around Chapter 9. Feel free to answer any one of these and reply with a helpful comment on someone else’s post as well.

  1. Can you explain why the chapter suggests testing incoming messages for state and outgoing messages for behavior (see p. 198)?
  2. How would you apply the concept of “intention revealing tests” in practice?
  3. Any other thoughts or questions you have on this chapter?
Ruby
Ruby On Rails
Computer Programming
Technology

Members are also interested in