>> Should I create an in memory store of these 3 table,
In the ideal world unittests should be self contained, they should generate all their test data and not rely on external sources that might; otherwise, infuence the results. So, my view is yes, where possible create fixed in memory representations of your data and test with contstant values that should have deterministic output. If this output changes from what is expected the unit test should be considered failed.
Main Topics
Browse All Topics





by: evilrixPosted on 2007-11-05 at 00:55:54ID: 20214559
A series of really good articles discussing unit testing using C#
/csharp/au tp1.asp /csharp/au tp2.asp /csharp/au tp3.asp /csharp/au tp4.asp
http://www.codeproject.com
http://www.codeproject.com
http://www.codeproject.com
http://www.codeproject.com
Maybe these will help?