Simple.Mocking

If you are looking for an alternative to the usual .NET mocking framworks (NMock, RhinoMocks, EasyMock.Net, Moq) you should take a look on Simple.Mocking:
  • Can mock/fake any interface or delegate
  • Refactor friendly syntax, no "magic string" (except for event add/remove)
  • No record/replay which just clutters down test code
  • Easy to learn, small API (Getting started with Simple.Mocking)


New version (1.1) released at May 4, 2012
Changes:
  • Added "convenience" methods for stubs
  • Added class AssertInvocationsWasMade for extended support of "AAA"-style tests
  • Marked class AssertExpectations as obsolete in favor of AssertInvocationsWasMade
  • Minor bugfixes for delegate mocking, expectation scopes and property set wildcard matching



Now available through NuGet: http://www.nuget.org/List/Packages/Simple.Mocking


Other sources of information



About the author

Mikael Waltersson - Software developer and partner at the swedish consultant firm Advise Solutions. Fan of clean code, TDD and agile methods.

Last edited May 4, 2012 at 6:22 PM by mikwal, version 20