tag:blogger.com,1999:blog-15136575.post8586081228888163613..comments2023-10-17T12:00:16.772+01:00Comments on Code rant: Testing Will Challenge Your ConventionsMike Hadlowhttp://www.blogger.com/profile/16441901713967254504noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-15136575.post-8712929967969346712007-08-30T11:06:00.000+01:002007-08-30T11:06:00.000+01:00Thanks for pointing out the error Dmitry. That'll ...Thanks for pointing out the error Dmitry. That'll teach me to write blog posts at 1am instead of going to bed!<BR/><BR/>I partially agree with what you say about writing code within the context of a framework such as the Visual Studio SDK, it is harder to code test first in the situation where you are basically researching the framework. However, with any framework, you are simply leveraging it to provide services for your application and the core application logic itself can still be written test first.<BR/><BR/>For example, my VS web service test tool WsdlWorks is written as a Visual Studio custom project type and has deep VS integration, but the core functionality: reading WSDL files, creating service proxies and example messages can still be written in a component oriented TDD style.Mike Hadlowhttps://www.blogger.com/profile/16441901713967254504noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-47266666468828264592007-08-30T09:19:00.000+01:002007-08-30T09:19:00.000+01:00Hi Mike, The link you provided doesn't work. I've ...Hi Mike, <BR/><BR/>The link you provided doesn't work. I've googled for <A HREF="http://blog.objectmentor.com/articles/2007/07/17/testing-will-challenge-your-conventions" REL="nofollow">working one</A>. Interesting article but as all articles about TDD and other agile methodology practices it always assumes that we write the code from scratch. And it's easy to use TDD in such projects.<BR/><BR/>But.. that is not true in a half of cases. A lot of projects now are extensions for various frameworks. And it is really hard to keep our code completely covered with unit tests. One perfect demonstration of that kind of framework is Managed Package Framework from Visual Studio SDK. That does extremely hard apply eXP style of work on such projects. <BR/><BR/>Dmitry PavlovDmitry Pavlovhttps://www.blogger.com/profile/08089953123394668584noreply@blogger.com