Although I'm not a fan of moles in general, I understand how much help they can get when testing outdated code. Below are some other tools you may consider. But seriously, I hate these types of frameworks because the right way to do this is to write code that can be tested and use outdated refactoring code that is not (I understand that this is not always easy or possible). I think moles get rid of one of the main advantages of unit testing, and this is that it makes you write good code, as described here:
Here are a few things to consider:
- Moles (Predecssor to MS Fakes Framework)
- JustMock (Less expensive than TypeMock but still expensive)
- TypeMock ( !)
, JustMock, , .