My only addition would be that the biggest time drain in development is not typing, it's time in the debugger, Especially when you have to debug a code-behind file. You have to fire up the asp,net runtime, click to the page / method you want to tests.
With a fully tested Controller you will spend much less time in the debugger. When you do need to debug, you set your breakpoint in the test and it will load up much faster and right to the method in question.
jcteague
Member
211 Points
45 Posts
Re: MVC Architecture - Sample
Dec 17, 2007 09:55 PM|LINK
I concur with Adam's sentiments.
My only addition would be that the biggest time drain in development is not typing, it's time in the debugger, Especially when you have to debug a code-behind file. You have to fire up the asp,net runtime, click to the page / method you want to tests.
With a fully tested Controller you will spend much less time in the debugger. When you do need to debug, you set your breakpoint in the test and it will load up much faster and right to the method in question.
John