ReSharper Ultimate 2017.1 EAP 8: Bug-fixes for unit tests

Svetlana Emelyanova

We have finally set the release date: ReSharper Ultimate 2017.1 will be out on April 3rd. In the meantime, we are releasing one more EAP build which fixes critical issues with discovering and running unit tests.

The previous EAP introduced an unfortunate bug that caused problems in discovering xUnit tests. You definitely couldn’t run MSTest tests if you installed the recent Visual Studio 2017 update (as of March 28th) as Microsoft had changed APIs. Now we support only the latest update. In earlier Visual Studio versions, you’ll see the following message box when trying to run unit tests:

alert_older_version

If you experienced any of the issues described above, please download and install ReSharper Ultimate 2017.1 EAP 8 along with the recent update for Visual Studio 2017. As always, if you encounter any other issues, please report them to us.

Comments below can no longer be edited.

33 Responses to ReSharper Ultimate 2017.1 EAP 8: Bug-fixes for unit tests

  1. Alex Povar says:

    March 30, 2017

    Could you please prioritize and fix the performance issue with xUnit (https://youtrack.jetbrains.com/issue/RSRP-460643)? It isn’t possible to use R# in our mid-large projects for unit testing. I’m ready to provide whatever you need (except source code) to clarify the reason. I’d be even glad to fix it via custom plugin if you advise how to do that.

    Sorry for being annoying, but this issue is critical and it’s been present since few versions. I’m a fan of R#, even write custom plugins for it, so its really painful to meet this issue over and over again every day 🙁

  2. Rino says:

    March 30, 2017

    Hello,

    When can we expect a new ReSharper 2017.1 official release?

    Regards, Rino.

    • Laurent Kempé says:

      March 31, 2017

      Just read the post, the date is written first line!

      • Svetlana Emelyanova says:

        March 31, 2017

        Right, it’s Monday next week 🙂

  3. Vladimir Kozlov (ai_enabled) says:

    March 31, 2017

    Are going to push this annoying UI change into the release https://youtrack.jetbrains.com/issue/RSRP-463925 ? It might result in frustration of many of your most loyal customers accustomed to certain workflow.

    • Svetlana Emelyanova says:

      March 31, 2017

      We’ve replied in the tracker. Will return the buttons back as per your request.

      • Vladimir Kozlov (ai_enabled) says:

        March 31, 2017

        Very good. Will check it in the next build. Thank you very much!

  4. ReSharper Ultimate 2017.1 – Alles zur neuen Version says:

    March 31, 2017

    […] wäre schon eine Woche ohne zwei EAP-Builds? Deshalb gibt’s jetzt EAP-Build 8 für ReSharper Ultimate […]

  5. Dew Drop - March 31, 2017 (#2452) - Morning Dew says:

    March 31, 2017

    […] ReSharper Ultimate 2017.1 EAP 8: Bug-fixes for unit tests (Svetlana Emelyanova) […]

  6. Liviu Mandras says:

    April 5, 2017

    I still have this problem. I just bought an R# 2017.1 Ultimate license today and MSTest tests are not properly discovered and sometimes they show inconclusive I have to run each file manually.
    I am using latest VS 2017 enterprise (build 26228.12)

    • Claus Jessing says:

      August 23, 2017

      I have the same problem. But only when trying to debug a test (using Ctrl-U, Ctrl-D). Running the test works fine (using Ctrl-U, Ctrl-R).

      VS Enterprise 2017, v 15.3.1
      ReSharper Ultimate 2017.1.3 (built on 2017 June 13)

      • Claus Jessing says:

        August 23, 2017

        Just updated VS 2017 to 15.3.2 but the problem persists 🙁

  7. Carey Bishop says:

    April 5, 2017

    Unit tests were working fine for me with R# 2017.1 until I installed a new VS2017 update today which upgraded it to 15.1 (26403.0), and now I’m getting the error message shown above that I need to install the latest version of VS2017, and R# is refusing to run any unit tests.

    Is R# checking for a specific version, rather than anything newer than X?

  8. Enrique says:

    April 6, 2017

    I have the problem too. R# 2017.1 with Visual Studio Ultimate Enterprise 2017 Version 15.1 (26403.0) release. I get the pop up message stating “An older version of Microsoft Visual Studio ……”. R# is not running MSTests. Please help,

  9. Hans Kraakman says:

    April 6, 2017

    This morning VS 2017 informed me that there was an update available, so I installed it. Which means I am currently running the latest VS 2017 (26403.0). But now ReSharper (R# 2017.1) is telling me that my VS2017 is outdated and that it cannot run unit tests. How can my VS2017 be outdated when I’m using the latest version?
    Please fix this problem so I can run my unit tests again.

  10. Svetlana Emelyanova says:

    April 6, 2017

    An issue with detecting MSTest tests is filed here https://youtrack.jetbrains.com/issue/RSRP-464228

  11. Steave N. says:

    April 6, 2017

    Hi I still have the same problem.

    I working with Visual Studio 2014 Update 4 and I cannot Launch my tests.

    I had Resharper Ultimate 2016.1.3 who wasnt working after update to 2017.1 My tests doesnt Launch either.

    Could you please check ?

    In advance Thanks

    • David says:

      April 6, 2017

      I have the same issue

  12. Andre Wilson says:

    April 6, 2017

    I now have the same problem as above after installing the latest version of Visual Studio updates 2017 v 15.1 (26403.0). Prior to this R# was working as expected but now I get the “this version of VS is out of date message”.

    Hopefully this can be resolved soon as I now can’t run my unit tests from R# as nothing is picked up.

    • Vijay K says:

      April 7, 2017

      With the 2017.1 resharper ultimate, I am still getting the “VS2017 version is outdated” message even though I have the latest version installed VS2017 version15.1 (build 26403.0)

      Could you please let me know when this bug is targeted to be fixed?

      Thanks

  13. Andrew R says:

    April 6, 2017

    Also have this problem – I can’t download R# EAP build as it is not available, so I’m running latest R# Ultimate 2017.1 and VS2017 15.1 (26403.0)

  14. Alexey Grant says:

    April 6, 2017

    Same problem as other people 🙁

  15. Dan says:

    April 7, 2017

    I do have same problem as Andre with the latest update of VS 2017 v15.1 (26403.0) and R# 2017.01 built on April 02

  16. Sylvain says:

    April 7, 2017

    I do have the same problem too. VS 2017 v15.1 (26403.0) and Resharper Ultimate downloaded this day (v 2017.1 built on April 02)

  17. Shrike says:

    April 7, 2017

    Just intalled R# 2017.1 RTM and got completely broken test runner with the mentioned dialog (which was “Fixed” in EAP – it wasn’t!). I have the latest VS2017 15.1 (26403) Ent.

    See https://youtrack.jetbrains.com/issue/RSRP-464228
    (it’s not about a dialog actually, issue title is misleading, all mstest support is totally broken).

    It’s becoming a bad tradition for JetBrains to release broken products (latest WebStorm 2017.1 is still broken for TypeScript after a week).

    Terrible.

    • Svetlana Emelyanova says:

      April 7, 2017

      The issue with unit tests was fixed for the VS2017 update as of March 28th. They rolled back the API changes in the next update, and now we have to implement a change too. Bug fix for ReSharper will be ready today.

  18. Seung Jae Lee says:

    April 7, 2017

    I have the same issue as well. Just upgraded my Resharper Ultimate License and downloaded version 2017.1, and now this issue is popping up with VS 2017 Build 26403.0. Guessing someone didn’t use the Greater Then or Equal to operator when checking VS version numbers.

    • Svetlana Emelyanova says:

      April 7, 2017

      In the latest update, Microsoft rolled back the API changes, that’s why ReSharper now detects this update as an old version. The bug-fix for unit tests will be ready today.

      • Charles says:

        April 7, 2017

        Is there a work around? It seems that removing Resharper from 2017 is the only option if you need to run the tests.

      • Shaun McDonnell says:

        April 7, 2017

        Yeah, my team here ran into the same issue and the error is somewhat ominous looking. We temporarily disabled R# but man are we missing it.

        • Jura Gorohovsky says:

          April 7, 2017

          Shaun, 2017.1.1 is now available and fixes the issue. Hurry up to enable ReSharper again!

          • Shaun McDonnell says:

            April 8, 2017

            Doing that right now!

            That was a scary couple of hours! 😉 Thank you all.

  19. Tim Rourke says:

    April 7, 2017

    I had the “older version of 2017” problem until this evening. I confirmed the version of 2017 on my desktop was version 15.1 (26403.00).

    In VS2017, the About Jet Brains ReSharper dialog said Update to 2017.1.1 was available, which it did not say yesterday.

    I did a Check for Updates and it brought up the update installer. I don’t get the “older version of 2017” dialog anymore.

Subscribe

Subscribe to .NET Tools updates