Moq – the next mock object framework

Sunday, April 20, 2008 – 9:06 AM

Daniel Cazzulino did a show and tell on Moq, a mock object framework that uses lambda expressions and fluent interfaces to try and improve the usually kludgy feel of creating mock objects. Scott Hanselman talks about some of the other approaches here. There really doesn’t seem to be a completely satisfactory answer for everyone but Moq seems to get a lot closer than some of the other frameworks out there.

What’s the next logical step for mocking frameworks? Maybe to leapfrog the C# (or VB.NET) languages and provide a DSL that expresses the author’s intent in a much clearer way without being constrained by the existing .NET languages.

The other interesting thing about Moq is that it is the result of an NGO funded project. InSTEDD is looking at novel ways to support responses to emergencies, diseases and disasters using interesting technologies like Twitter Bots and building robust, lightweight distributed networks using SMS.

Technorati Tags: ,,,
  1. 2 Responses to “Moq – the next mock object framework”

  2. Hello Ade,
    If you’re interested in looking at mocking frameworks, I’d like to invite you to see what you think of Typemock Isolator ( If you want more information, or have any questions what so ever, please feel free to contact me at avik at typemock dot com.
    Avi Kaye

    By Avi Kaye on Apr 22, 2008

  1. 1 Trackback(s)

  2. Apr 23, 2008: #2782 » Blog Archive » ALT.NET and the global currency of ideas

Sorry, comments for this entry are closed at this time.