MSTest Unit Testing does not work (or fails with error) with ReSharper 7.1.x

Note: For VS15.3 MSTest issue, please follow https://resharper-support.jetbrains.com/hc/en-us/articles/115001221824-Debugging-MSTest-in-Visual-Studio-2017-3-15-3-Inconclusive-Test-not-run- 

 

Problem:

If you're having one of the following issues with ReSharper 7.1.x (possibly, with Visual Studio 2012 Update 2):

Solution:

0 out of 39 found this helpful
42 comments
Avatar
Permanently deleted user

Just installed the VS 15.3.2 update. Tried it with Resharper Ultimate 2017.2 and 2017.1.3 and the issue is still there.

Can execute unit tests, but not debug.

 

Is this still on the radar of the support? Because there is a solution, but it doesn't work

0
Avatar
Permanently deleted user

+1 Debugging doesn't work (Inconclusive: Test not run). Execution works.

VS Professional 2017 15.3.2
Resparper Ultimate 2017.1.3

2

Same here:
Debugging doesn't work (Inconclusive: Test not run). Execution works.

VS Professional 2017 15.3.2
ReSharper Ultimate 2017.1.3

0
Avatar
Permanently deleted user

Alexander Kurakin, just tried the update and same result. Inconclusive tests
https://resharper-support.jetbrains.com/hc/en-us/articles/207242585/comments/115000121204

0
Avatar
Permanently deleted user

Just tried the fix suggested by Alexander Kurakin and it worked!!!!

Specifically with VS 2017 (15.3.2) - Just upgraded to this version yesterday

And ReSharper 2017.2 EAP 13 (this one came out a couple days ago as well, but I just tried it)

Previously with 2017.2 EAP 12 debugging was still broke. After EAP 13 upgrade everything is working again!

0
Avatar
Permanently deleted user

Installation of Resharper Build 2017.2 EAP 13 helped!

Thanks Alexander!

0
Avatar
Permanently deleted user

I use JetBrains ReSharper Ultimate 2017.2 Build 109.0.20170824.131346
And I am still getting  "Inconclusive: Test not run" for MS tests
Submitted the bug here: https://youtrack.jetbrains.com/issue/RSRP-466185
Please fix. Thanks!

0
Avatar
Permanently deleted user

Using VS 15.3.4 and R# 2017.2.1

My proect is using XUnit 2.2 and still all tests are showing Aborted or Inconclusive. VS own test shows all green.

I can debug the test to see that everything is OK but in session window it shows inconclusive aborted. This messes up my codecoverage also.

0
 

I had 7.1.3 and didn't see the option (as Eino mentioned) and then upgraded to 7.2.2 and still do not see it. Is there another workaround?

0
Avatar
Permanently deleted user

I am experiencing the same issue with MSTests. When I run test in debug mode it just run without any errors.

Like this:

Visual Studio version:

R# version:

0
Avatar
Permanently deleted user

I was unable to debug unit tests:

  • Visual Studio Professional 2017 15.5.2
  • ReSharper Ultimate 2017.2.2

I have upgraded to the following ReSharper build and I am now able to debug:

  • ReSharper Ultimate 2017.3 EAP

 

0

Please sign in to leave a comment.

Have more questions?

Submit a request