Breaking out to improve cohesion (peer detection techniques)
10/11/2025
1. Introduction. In previous posts[1] we talked about the importance of distinguishing an object’s peers from its internals in order to write maintainable unit tests, and how the peer-stereotypes help us detect an object’s peers. When we use the term object in this post, we are using the meaning from...