ARCast.TV - TDD / MVP with Ron Jacobs
- Posted: Nov 20, 2007 at 12:11 PM
- 13,043 Views
- 5 Comments
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
I am just listening to your Podcast, is there any chance If you could make your source code available, it would be great to see an simple example of PVP with TDD.
Thanks in Advance
Maz
I have a feeling in my gut that TDD is a path to code generation.
R
Slight Rant:
It has been written that the TDD methodology requires aprox twice as much test code as application code. Which translates into 2/3 of developer time spent on writing test code. This is where developers are spending most of their time which is a fruitful area for new productivity gains.
Sometimes, I wish more teams at Microsoft were thinking about TDD. It really sucks to try and acheive 100% code coverage over an API that doesnt use interfaces (i.e. HttpContext, HttpRequest, HttpResponse..).
True, progress has been made:D. Newer projects like ASP.NET MVC[H] do emphasize unit testing in their documentation and project templates. But still others like EDM dont apear to design for this scenario up front.
More emphasis needs to be placed on designing for testing (as your great tdd videos have demonstrated). Architects & developers need more information up front about how APIs can be tested (best practices etc..). and as a general rule, APIs should have at least one article in their .chm that outlines their API testing story.
We should do away with all all those "Console.WriteLine" style examples to and replace them with actual unit tests (asserts, mocks and all).
Happy Holidays,
TDD Koolaid Drinker
Remove this comment
Remove this thread
close