10-05-2006
Downloads: 333
File size: 57.7kB
Views: 644
 |
TDD Demo 2b, Income Tax Calculator, the test-driven way |
Demo code used for the Red-Green-Refactor for .NET talk on Oct 5 2006.
This income tax calculator was developed in teensy-weensy steps using the test-driven methodology. It uses interfaces in separating the database and email functionality from the business logic. Mock/stub objects are used for unit testing while the actual database-driven code is tested in a separate integration test.