DevPinoy.org
A Filipino Developers Community
   
TDD Sample Code

Looks like I can only include one attachment per blog post, so I was only able to put the presentation in my previous blog entry.

Here's the sample code from yesterday...Demo1 is the completed number-to-word conversion class...CurrencyConverter1 is the "god" class implementation of the foreign exchange demo while CurrencyConverter2 is the implementation which makes use of the dependency injection pattern ("inversion of control") and a mock object to illustrate object interaction testing.


Posted 08-17-2006 6:05 AM by cruizer
Filed under: ,
Attachment: TDD-samplecode.zip

Comments

cruizer wrote TDD Talk Re-Run
on 09-07-2006 11:14 PM

I'll be having a TDD talk again for MSDN Student Developers' Night on Wednesday, September 13. I'll make

Copyright DevPinoy 2005-2008