I think that the most effecient method of testing database connectivity is to implement a few design ideas. first, pull out all of the code that has anything to do with a database, connection or otherwise, and put it in its own class/method. once you have done this, write very specific tests...