开发者

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

开发者 https://www.devze.com 2023-02-25 08:29 出处:网络
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

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

精彩评论

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