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...
精彩评论