Some more indications that you might not be using Mock Objects to best advantage.
Tag: code smells
Episode #289: Mocking Smells 2
Today we continue in our series examining mock-object code smells.
Episode #287: Mocking Smells 1
Test doubles are a powerful but easy-to-misuse tool for design. In this episode, we look at some tell-tale signes that mocks aren't being used effectively.
Episode #275: Antique Shop
Revisiting the idea of "referential transparency", today we look at some unforseen side-effects of a method that modifies its arguments.
Episode #087: Naming Things: Headcount
Naming things is hard, and it's difficult to come up with hard-and-fast rules for it. But it can be helpful to learn from examples of real-world naming decisions that led …