I agree with you t'mo - where your classes interact with data in some external resource, such as a file or database, you can not test without test data.The best solution I have found is to script as much of the database creation and population as possible ay you suggest.[reply]