October 4, 2009 22:14
About 9 months ago I posted a comparison of different mocking frameworks. A lot has changed since then - armloads of bugfixes, gratifying influx of new features, and even a new mocking framework (!) - so time is ripe for a new comparison.
But before I move on, here's a very brief list of changes.
More...
July 5, 2009 20:17
This post is a walk-through for using Stubs, an interesting approach to mocking from Microsoft Research[1].
Typically, while mocking something you set up expectations via expression trees or string based APIs. The framework would then, at runtime, dynamically generate the code you need.
Dynamically.
Stubs guys took a different route: they generate the code statically. Right click on the method you want to test, click a button and a separate project with the stubs you need gets created. Just go and use them.
More...