Programming, technology, and CRM – from a Belgian programmer exiled to Missouri
  • rss
  • Home
  • Soft Gallery
    • autosvnbackup.sh
    • VBScript Snippets
  • Contact Me
  • Welcome

The big mockery – NMock, Rhino Mocks, etc.

Nicolas Galler | February 26, 2007

Yes it finally happened – I got tired of hand coding mock objects. Amazing how long it can take to prepare a mock when all I want to know is find out how many time it gets called and with what arguments.

I had heard of Rhino Mocks a while ago, of course (I read Ayende’s blog every day – he is a genius). I tried NMock2 as well. Both were fairly easy to get into. NMock2 is a bit more polished as far as the status report etc, but RhinoMocks being compiled rather than using strings makes it a lot easier to use, and the syntax is a bit more concise as well – and when you are cranking out test cases every little speed up helps!

Categories
Programming
Comments rss
Comments rss
Trackback
Trackback

« Windows Power Shell New Things: Ubuntu, Castle Windsor »

Leave a Reply

Click here to cancel reply.

Categories

  • Experiments (4)
  • Interesting (1)
  • MSCRM (1)
  • Programming (60)
  • Rant (3)
  • Saleslogix (34)
  • Tricks (8)
  • Uncategorized (30)

Post History

  • 2010
    • January (3)
    • March (3)
    • April (2)
    • August (2)
  • 2009
    • March (2)
    • April (1)
    • May (3)
    • June (3)
    • July (1)
    • September (3)
    • October (2)
    • December (5)
  • 2008
    • January (9)
    • February (4)
    • March (9)
    • April (1)
    • May (5)
    • June (8)
    • July (1)
    • August (2)
    • September (1)
    • November (1)
    • December (3)
  • 2007
    • January (3)
    • February (7)
    • March (1)
    • April (3)
    • May (6)
    • June (2)
    • July (1)
    • August (2)
    • September (5)
    • October (3)
    • November (5)
    • December (4)
  • 2006
    • January (2)
    • September (1)
    • November (3)
    • December (4)
  • 2005
    • April (1)

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox