Mocking Framework: Pick One And Start Mocking Yourself

by Jon Davis 25. March 2008 10:40

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.

Currently rated 1.0 by 24 people

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

Tags: , , , , , ,

Software Development


 

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen

About the author

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 was previously employed as a senior .NET developer at a very well-known Internet services company whom you're more likely than not to have directly done business with. However, this blog and all of jondavis.net have no affiliation with, and are not representative of, his former employer in any way.

Contact Me 


Tag cloud

Calendar

<<  September 2018  >>
MoTuWeThFrSaSu
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

View posts in large calendar