[Tutor] Unit-testing advice

mhw at doctors.net.uk mhw at doctors.net.uk
Mon Mar 8 08:55:13 CET 2010


Dear All,

Quick UT question. I am working on a CSV processing script. I want to write some tests. The tests will need to read in, manipulate and write out some CSV files. 

My instinct is to manually construct some small data files, and consider them as part of the test suite. The other option would be to programatically construct them (? As a set-up).

Which is better? 

Thanks,

Matt


Sent from my BlackBerry® wireless device


More information about the Tutor mailing list