Wednesday, March 08, 2006

Learning NMock

NMock is a great tool for simulating (ok, mocking) objects for your unit tests.  Say you want to avoid messy database or web service interractions — NMock gives you an avenue to do that.  You can also simulate services which might not be consistently available.

Documentation on NMock is sketchy at best, so you need to hit Google and search around for smart folks who have gotten the arrows in their backs already.  Here are a few links I’ve found helpful so far:

More as I figure it out myself!

No comments:

Post a Comment