开发者

How to drop a test database after the unit-test in Visual Studio

I have a Visual Studio unit-test that creates a database for testing purposes, but the test database is n开发者_运维百科ot dropped after the test. What do I have to do to drop the test database after the unit-test successfully ran through?


You could just issue a "DROP DATABASE..." command at your teardown method...

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜