On Thursday 17 March 2011 05:38 PM, steve wrote:
> On 03/15/2011 02:35 PM, Asokan Pichai wrote:
>>
>> A curiosity question: like make, is there a facility to run only those tests
>> that correspond to
>> changed code. Even as I type this the question seems ill-defined etc., but
>> still ....
>>
> Umm, that kinda defeats the purpose of TDD. When you run the test suite
> basically, the intention is to know that you haven't inadvertently broken
> something that you thought was unrelated by your latest changes.


The purpose of TDD is not to check if anything has broken in the app. 
That's the purpose of unit/developer testing in general. Running the 
whole test suite every time you add/modify a test is going to be 
seriously time-consuming (which refers to my 20-sec lag). TDD's purpose 
on the other hand is to allow the discovery of the most 
simplified/testable interface to your app. In other words, TDD is more 
about application design than reliability. Of course, it ends up helping 
the latter anyway.


Vamsee.
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to