TechHui

Hawaiʻi's Technology Community

Timothy Little's Blog – November 2012 Archive (1)

What to do when you can't decipher your unit tests

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…

Continue

Added by Timothy Little on November 6, 2012 at 8:34am — 1 Comment

Sponsors

web design, web development, localization

© 2024   Created by Daniel Leuck.   Powered by

Badges  |  Report an Issue  |  Terms of Service