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