I've been meaning to follow up on Chris Sass' excellent post on growing pains. A related side effect of code that has grown too complicated is unit tests that are impossible to decipher. As your ActiveRecord model becomes bloated, the tests written for it have to mock out too many things. This makes it nearly impossible to know why the test was created and what, exactly, is supposed…
ContinueAdded by Timothy Little on November 6, 2012 at 8:34am — 1 Comment
© 2025 Created by Daniel Leuck.
Powered by