Quicknote: RhinoMocks

Just a very quick and rough note – i started using RhinoMocks today, which allows you to create dummy objects when writing test code – extremely useful for simulating boundary conditions, and isolating which classes are tested. Anyway – some links…

http://ayende.com/projects/rhino-mocks.aspx

http://www.dimecasts.net/Casts/CastDetails/12 (nice intro)

Note that unit testing normally follows the pattern where you write the following:

  • SetupResult
  • Expect
  • Playback
  • Asserts

You May Also Like

About the Author: rnowik

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.