Blog

TDD through the eyes of Jeremy D. Miller

July 23, 2007

Another excellent post on TDD by Jeremy D. Miller. The following quote is something that needs to be up on the wall:

DO learn how RhinoMocks works or DO NOT use it.  Seriously.  It's a very powerful tool when used correctly, but it punishes folks with a shallow understanding of the tool.  Understand what it does, don't memorize, and don't try to copy/paste RhinoMocks code you don't understand

When I started out with unit testing and TDD, I ignored the existence of dynamic mocking frameworks altogether. I wrote my stubs and mock objects by hand. I wanted to grab on to the core principles of unit testing. After feeling the pain of manually writing stubs and mock objects for a year or so, I started using RhinoMocks. Looking back, I still started way too soon. I still consider not using a mocking framework at first is still a good thing. It's easy to get overwhelmed.

In this other post of Jeremy, the following quote actually made my day:

The WebForms event lifecycle is the most gawdawful, overcomplicated piece of crap MS has ever rammed down our throats.

Nuff said.

If you and your team want to learn more about how to write maintainable unit tests and get the most out of TDD practices, make sure to have look at our trainings and workshops or check out the books section. Feel free to reach out at infonull@nullprincipal-itnull.be.

Profile picture of Jan Van Ryswyck

Jan Van Ryswyck

Thank you for visiting my blog. I’m a professional software developer since Y2K. A blogger since Y2K+5. Provider of training and coaching in XP practices. Curator of the Awesome Talks list. Past organizer of the European Virtual ALT.NET meetings. Thinking and learning about all kinds of technologies since forever.

Comments

About

Thank you for visiting my website. I’m a professional software developer since Y2K. A blogger since Y2K+5. Author of Writing Maintainable Unit Tests. Provider of training and coaching in XP practices. Curator of the Awesome Talks list. Thinking and learning about all kinds of technologies since forever.

Contact information

(+32) 496 38 00 82

infonull@nullprincipal-itnull.be