Mocking Framework: Pick One And Start Mocking Yourself

by Jon 3/25/2008 10:40:00 AM

At the office we're designing a client-side MVC framework to compliment ASP.NET MVC framework. Fun stuff, but between both server and client side MVC, we're trying to figure out how we're going to build our tests.

On the server side, there are already some mocking frameworks out there. Some people swear by Rhino Mocks. Personally, I haven't even started doing the mocking thing, to my shame. But lately everyone seems to be pointing to 'Moq', http://code.google.com/p/moq/. This includes Phil Haack, who is a leader in the ASP.NET MVC development team.

What sells me on Moq already is that it's specifically targeting people like me -- people who know they need to mock their stuff to build tests, but haven't really gotten used to TDD, or who are overwhelmed by the whole process.

On the client side, I kinda pooh-poohed JsUnit already (but might still come back to it), but I just stumbled across WebAii, http://www.artoftest.com/webaiifxproduct.aspx  .. this ought to be interesting. :) It's all client-side stuff but it's built around ASP.NET development (rather than Java, or Ruby, or specifically the Firefox browser), which sounds good.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

Software Development

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag





Live preview

11/21/2008 4:20:27 AM


 

Powered by BlogEngine.NET 1.2.0.0
Theme by Mads Kristensen

About the author

Jon Davis Jon Davis (aka "stimpy77") has been a programmer, developer, and consultant for web and Windows software solutions professionally since 1997, with experience ranging from OS and hardware support to DHTML programming to IIS/ASP web apps to Java network programming to Visual Basic applications to C# desktop apps.
 
Software in all forms is also his sole hobby, whether playing PC games or tinkering with programming them. "I was playing Defender on the Commodore 64," he reminisces, "when I decided at the age of 12 or so that I want to be a computer programmer when I grow up."
 
Jon is currently in a temp-to-perm contract with a media corporation that primarily produces B2B magazines. The insanely complete and powerful Content Management System that they are switching to is SiteCore CMS, which is arguably the richest and most complete ASP.NET 3.5 based CMS on the planet.
E-mail me Send mail

Most Recent of Many Library Investments

Calendar

<<  November 2008  >>
MoTuWeThFrSaSu
272829303112
346789
10111213141516
17181920212223
24252627282930
1234567

View posts in large calendar

Pages

    Recent comments

    Authors

    Tags

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2008

    Sign in