Oleg Broytmann kirjoitti:
On Thu, May 25, 2006 at 06:49:31PM +0300, Eino M?kitalo wrote:
When I have 2 test functions in a test case and both are creating tables and doing thing it seems that it's quite tricky to be able to close and delete database between testfunctions.

   Why not just drop and create tables at the beginning of an every
function?

Oleg.
That's possible at most cases but memory tables would be so nice and easy clear without conditionally studiying which tables are created and which are not. Also it creates binding between test functions. If one function fails to clear everything it can affect the result of another function. I will use list of created tables and drop them if there is no
way to clear it otherwise

Eino



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to