3 Replies Last post: May 8, 2013 1:37 PM by Fedor Buyvol-Kot  
Ilya Fofanov Newbie 5 posts since
May 3, 2013
Currently Being Moderated

May 3, 2013 12:56 PM

All dotcover buttons does not run tests except "cover all tests"

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(((

Fedor Buyvol-Kot JetBrains 94 posts since
Dec 9, 2011
Currently Being Moderated
May 8, 2013 4:44 AM in response to: Ilya Fofanov
Re: All dotcover buttons does not run tests except "cover all tests"

Hi Ilya,

 

Could you please specify which versions of dotCover,ReSharper and Visual Studion do you use?

 

Regards.

Fedor Buyvol-Kot JetBrains 94 posts since
Dec 9, 2011
Currently Being Moderated
May 8, 2013 1:37 PM in response to: Ilya Fofanov
Re: All dotcover buttons does not run tests except "cover all tests"

Ilya,

 

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

 

Regards.

More Like This

  • Retrieving data ...