tags:

views:

28

answers:

1

i m writing unit testcases for a class,

I want to create a db file in setup make the testcase to use it and delete the file in teardown

the problem is the time taken to copy is not predicted and sometimes the teardown cannot able to delete the file

help me please..

code in setup has File.Copy to copy the file

in teardown it has File.Delete to delete the file

A: 

What sort of DB are you creating? Can it not be created in memory?

Dve
it s not empty.. i m creating by copyng another .mdb file...
Dve