Mocking in .NET – Moving From NMock to Moq

added by SuprotimAgarwal
7/14/2010 12:35:21 AM

1 Kicks, 235 Views

Recently I came across NMock3, which improved upon NMock2 by providing for strongly-typed expectations on any mock objects you might create. I stumbled across this while reading this post comparing different mocking frameworks. In this same post however, one of the original contributors to NMock2 gave a compelling reason why he switched to Moq. This post is a bare bones introduction to the main difference between NMock and Moq