开发者

problem in nunit testcases

i m writing unit testcases for a class,

I want to create a db file in setup mak开发者_如何学Ce 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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜