Tuesday, 30 August 2011

Moq

Mocking library for .NET
What Is Moq?
"Moq is a mocking framework for C#/.NET. It is used in unit testing to isolate your class under test from its dependencies and ensure that the proper methods on the dependent objects are being called" Read more...

Other Moq frameworks for .net 
TypeMock, RhinoMocks, nMock

"Mock objects are simulated objects that mimic the behavior of real objects in controlled ways In a unit test, mock objects can simulate the behavior of complex, real (non-mock) objects and are therefore useful when a real object is impractical or impossible to incorporate into a unit test." Read more on wikipedia

Introduction to Moq
http://code.google.com/p/moq/wiki/QuickStart

Beginning Mocking With Moq 3 – Part 1 to 4
http://www.codethinked.com/beginning-mocking-with-moq-3-part-1

No comments:

Post a Comment