A .Net framework to create fake objects, mocks, stubs, etc.


Moq (pronounced "Mock-you" or just "Mock") is a mocking framework for .NET that makes heavy use of lambdas and LINQ expression trees.


Quality Example
Less powerful

"Btw why do you want to use fakeiteasy it looks to me less powerful than moq"

from question "FakeItEasy callback implementation"

Nicer syntax

"Fakeiteasy seems to have an overall nicer syntax than moq like the strongly-typed way the former deals with passing parameters to a constructor of a faked class"

from question "Does FakeItEasy support the idea of Partial Mocks?"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0