It does not matter from where I try to run tests from the VS gutter or from Unit Test Sessions dotcover window. In all cases I face the same behavior: Run All Tests, Run Unit Tests, Debug Unit Tests do not run tests. At the same time "Cover" commands run tests properly.
As to R# settings, in R# "Enable Unit Testing" is disabled, as well as NUnit and MSTest support. As to dotcover options, "Enable Unit Testing" is enabled, as well as MSTest support and NUnit support is disabled.
My tests rely on MSTest framework. Restart of VS does not help as well as solution rebuild. If I want to debug a separate unit test I can not(((
Could you please specify which versions of dotCover,ReSharper and Visual Studion do you use?
Microsoft made some changes in MSTest Unit Test Runner API between Update 1 and 2, and that is the reason of why dotCover 2.2 and ReSharper 7.1.1 do not support running MSTests in Update 2.
There are 2 workarounds:
- update to ReSharper 7.1.3 and use its unit test runner: http://www.jetbrains.com/resharper/download/index.html
http://www.jetbrains.com/resharper/download/index.html- try the latest dotCover 2.5 EAP build, it also supports Update 2: http://confluence.jetbrains.com/display/DCVR/dotCover+Early+Access+Program