Making Stuff Faster
Design, Code, Database Performance

NMock or NUnit.Mocks

Monday, December 19, 2005 5:51 AM

Does anybody have any experience with either of these two types of mock objects?  Over the past few months I have gone back and taken a new look at Test Driven Development and am starting to switch the way I think about writing code. 

In writing some of my unit tests I've had a need for a mock object framework.  In looking around, i've noticed that these two seem to be the two brightest stars in the .Net universe in respect to mock objects.

Can anyone compare and contrast them? Give some insight into using them?


Feedback

# re: NMock or NUnit.Mocks

Visit http://www.mockobjects.com/ for various .NET Mock object implementation. NUnit.Mocks is not as strongy typed (mock method params). However, it is good to use just one framework NUnit and NUnit.Mocks 6/10/2008 8:07 AM | Kristofer Krause

Post a comment