MortenHoustonLudvigsen / KarmaTestAdapter

A Visual Studio test explorer adapter for Karma
MIT License
20 stars 14 forks source link

Tries to connect to all databases that have a connectionstring defined on project startup #43

Open fredrikholm opened 8 years ago

fredrikholm commented 8 years ago

My project(s) have 4 connectionstrings in web.config, one for the "real" DB and the rest for test databases (SQL Server). The test DBs are deleted after each test run.

Whenever I start my solution (VS2015 Community edition) VS tries to connect to all of those databases, which throws an error since the databases does not exist. This behaviour stops if I disable Karma Test Adapter.

It seems like others experience the same behaviour as well (top link in this result): https://www.google.se/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=visual%20studio%20karma%20test%20adapter%20tries%20to%20open%20all%20databases%20in%20the%20connection%20string

Great product apart from this minor glitch! :-)

mklaber commented 8 years ago

I'm also seeing this same behavior, though this may be a duplicate of #32 . Perhaps that should be re-opened?

mikecg commented 8 years ago

This has also been happening to me.

brandonwittwer commented 7 years ago

+1 Happens to us as well, multiple machines. Uninstalling the test runner fixes it.