How to set Windows phone 8.1 emulator as the default emulator for running unit tests using ReSharper

I am currently trying to run unit tests on a Windows Phone 8.1 emulator using the ReSharper plugin in VS 2013 ultimate. But when I kick off the unit tests, it starts the Windows Phone 7 emulator by default and unit tests fail due to the app and emulatore being incompatible. I don't see an option to change the emulator used by ReSharper. I am able to successfully run these unit tests using Visual Studio's test explorer on the Windows Phone 8.1 emulator.

My intention is to use dotCover eventually to get code coverage of my unit tests.

Thanks!

3 comments
Comment actions Permalink

Hello Tarun,

  Could you please specify what version of ReSharper you use (ReSharper | Help | About JB ReSharper | Copy>>)?

Thanks!

0
Comment actions Permalink

8.2.1 C# edition

0
Comment actions Permalink

Hello Tarun,

  Thanks for the reply.

  ReSharper runs tests using the emulator specified in .csproj.user file. It is the same emulator as specified in Visual Studio toolbar.

  Also dotCover does not support WinPhone projects http://youtrack.jetbrains.com/issue/DCVR-5065.

Thanks!

0

Please sign in to leave a comment.