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):
- "Inconclusive: test wasn't run" or "Pending" message for all tests
- MSTest runner throws System.IO.FileNotFoundException
- Test Runner doesn't copy localization satellite assemblies
- Test Runner ignores "Copy Always" flag on partial app.config file
Solution:
- Download and install ReSharper 7.1.3 (or above).
- Latest version is always available here: http://www.jetbrains.com/resharper/download/index.html
- Open the "ReSharper | Options | Unit Testing | MSTest", and uncheck 'Use Legacy Runner' checkbox there:
Please sign in to leave a comment.
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
+1 Debugging doesn't work (Inconclusive: Test not run). Execution works.
VS Professional 2017 15.3.2
Resparper Ultimate 2017.1.3
Same here:
Debugging doesn't work (Inconclusive: Test not run). Execution works.
VS Professional 2017 15.3.2
ReSharper Ultimate 2017.1.3
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-
Alexander Kurakin, just tried the update and same result. Inconclusive tests
https://resharper-support.jetbrains.com/hc/en-us/articles/207242585/comments/115000121204
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!
Installation of Resharper Build 2017.2 EAP 13 helped!
Thanks Alexander!
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!
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.
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?
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:
I was unable to debug unit tests:
I have upgraded to the following ReSharper build and I am now able to debug: