avr. 18
You usually use Moles & Stubs to define mocks in your tests ?
So you may have already coped with a bothering bug in the latest version of Moles & Stubs : all your code relying on your configuration file do not work any longer. Indeed Moles & Stubs is "loosing" you config file.
This is very bothering.

Anyway, there is a simple workaround to this problem, using both the capability of Moles & Stubs, and the code weaving capabilities of an AOP framework. For the example, we are using PostSharp. [Plus]