Just read about the new Stubs & Shims support in Visual Studio 11.
Stubs are clear to me, but Shims? Are they an alternative for Moles? Or can they be used to do mocking?
Just read about the new Stubs & Shims support in Visual Studio 11.
Stubs are clear to me, but Shims? Are they an alternative for Moles? Or can they be used to do mocking?
Copyright © 2021 Jogjafile Inc.
As I see it, they aren't just the alternative to Moles, they are in fact the replacement. Shims can be used to isolate the code you're testing similarly to Moles.
From the Microsoft Research page on Moles: