Skip navigation.

TDDing the sales report: testing with a database

test driven development
Using automated tests that depend on a database can always be a tricky task. Although this is usually avoided using mock objects, I tried to write a simple sample of how to use Test Driven Development to build a sales report. The example can be found at: TDDing the sales report and it includes the source code.


Download: Sources