I am using visual studio 2013. I have two branches.
Test explorer works fine on branch A but does not on Branch B. I get the following error in the test output window:
------ Discover test started ------
**An exception occurred while initializing the database. See the InnerException for details.**
========== Discover test finished: 4530 found (0:00:07.34) ==========
As you can see, It seems to discover the tests but will not populate the test explorer window.
What database does it use? is there a project specific cache I could remove?
I use resharper so tried turning its unit test engine off but that did not help. I have done rebuilds cleans etc. to no avail.
I recently installed VS 2015 but am not yet using it? could this be an issue?
Any help would be greatly appreciated.
I too had this issue today, to resolve it I did the following:
Hope this helps :)
It turns out it is a compatibility issue with Visual Studio 2015.. I uninstalled it and everything works fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With