I keep seeing this referred to on DotNetKicks etc... Yet cannot find out exactly what it is (In English) or what it does? I am stupid, so if you could explain it simply it would be great and why I would use it (If it is something I use)???
Thanks
I keep seeing this referred to on DotNetKicks etc... Yet cannot find out exactly what it is (In English) or what it does? I am stupid, so if you could explain it simply it would be great and why I would use it (If it is something I use)???
Thanks
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. For more information on mocking you may want to look at the Wikipedia article on Mock Objects.
Other mocking frameworks (for .NET) include TypeMock, RhinoMocks, nMock, .etc.