TypeMock and Design
Roy Osherove has an interesting post on TypeMock/DI and design, it's a response to this post which is also interesting. In turn Jeremy Miller has put up his own response to Roy Osherove.
It's a well discussed topic and I've already put forward my views on it so I won't repeat them here but it is interesting that views on TypeMock are becoming more reasonable as time passes.
Can you post a link to your views?
ReplyDeleteThey should all be under the label "TypeMock" if thats any use, or I could highlight the most relevant ones I've written.
ReplyDeleteGood stuff CJ. I have enjoyed observing the discussion that is going on. It's made me realize that a lot of my objections to TypeMock are on a pureist/snobby level, and not on a practical level, which isn't very helpful. Maybe I like TypeMock now. Or maybe not.
ReplyDeleteHave you seen this? http://www.mockobjects.com/2008/01/just-when-you-thought-it-was-safe-to-go.html
Yeah saw the new mockobjects.com one, its good too.
ReplyDeleteI guess its all down to how you judge good design and I guess I draw the line on how loosely coupled you need to go differently to some other people.
Everyone has their own view on this stuff though, and it is interesting to see how other people work.