Moles: Mocking the Un-Mockable(www.dimecasts.net)
submitted by
dwhittaker(13.1k) 2 years, 1 month ago
Taking at how to use Pex/Moles for .Net. Unit testing is great, but most free isolation frameworks require that your mocks implement an interface. But what do you do when the class you are trying to mock is static or sealed with no interface. If you can’t modify the class then your unit testing efforts are usually stuck. Moles, the new free isolation framework from Microsoft, supports mocking almost any CLR based class (including sealed and static classes) read more...
|category: Unit Testing
|Views: 433
tags:
Testing another
Everyones tags:
Your Tags: