I happen to know a little bit of Russian, the title says "ASP.NET MVC - when it all looks good only at first sight" [:)]
If we are resolved to use mocks at all costs, that's without no doubt brilliant solution. But subclass seems very clean and simple approach to me, I use it all the time and feel very comfortable. A matter of taste.
M
Writing software would be a lot easier if it weren't for customers
Momcilo
Participant
1477 Points
251 Posts
Re: Testability and mocking
Jan 08, 2008 05:54 PM|LINK
I happen to know a little bit of Russian, the title says "ASP.NET MVC - when it all looks good only at first sight" [:)]
If we are resolved to use mocks at all costs, that's without no doubt brilliant solution. But subclass seems very clean and simple approach to me, I use it all the time and feel very comfortable. A matter of taste.
M