My ReSharper Gutter Icons for Unit Tests aren't showing
Asked Answered
A

7

9

I've installed ReSharper 4.1 and Gallio 3.0.5, but I don't get the gutter icons for unit tests. The tests seem to run fine in the Test Explorer, but I don't have icons next to the tests in code. What could be causing this? I previously had the MbUnit 2.4 ReSharper plugin installed, but it should be uninstalled now.

Aubreir answered 16/1, 2009 at 8:36 Comment(0)
A
11

I did this to get them to show up again. Maybe it was an overkill.

  1. Uninstall ReSharper
  2. Uninstall Gallio
  3. Delete %appdata%\JetBrains folder
  4. Install ReSharper
  5. Start Visual Studio
  6. Close Visual Studio
  7. Install Gallio
  8. Start Visual Studio

I think the key was deleting the %appdata%\JetBrains folder, because there could have been some old plugin files in there.

Aubreir answered 16/1, 2009 at 8:49 Comment(3)
All I had to do was #3Gauleiter
Same for me. Closing all Visual Studios, deleting %appdata%\JetBrains fixed the issue for me as well.Hoisch
@Gauleiter same. On another note, I had this issue after my license expired and had to download and install the fallback version.Lacerated
L
5

Maybe a bit long ago, but if someone stumbles on this question...

I had the same problem with Resharper 2016.2

Resharper -> Options -> Code Inspection -> Settings

In my case the project containing the unit test was listed in the "Files and folders" list under "Elements to skipp". After I had removed the project, the icon appeared again.

Lucite answered 10/11, 2016 at 13:9 Comment(0)
N
5

Another really late answer here, but if you don't have Resharper Code Analysis enabled then the gutter icons won't show up. Had to help a teammate figure this out yesterday.

Nonobjective answered 7/6, 2017 at 13:56 Comment(1)
This is what has happened to me. I have accidentally turned off "code analysis" instead of "solution-wide analysis" in Resharper and the gutter icons for unit tests were missing.Lambrequin
S
3

using Visual Studio 2017, fixed mine using the Code Analysis icon in the upper right corner of the code window missing the gutter test icons.

The analysis was suspended because of the large test file. Had to hit resume twice, then icons finally reappeared.

enter image description here

Schaffer answered 12/3, 2020 at 2:37 Comment(1)
This fixed the same problem for me in Visual Studio 2019 also.Stayathome
D
1

I've had this issue a number of times when doing clean installs. Sometimes the gallio-resharper plugin installs perfectly, sometimes it does not. I tried the steps above to no avail.

I found this link: http://confluence.jetbrains.net/display/ReSharper/Deploying+plugin And did the following

  1. Created a Plugins folder in "C:\Program Files (x86)\JetBrains\ReSharper\v5.1\Bin\"
  2. Copied the resharper plugin files from GallioBundle-3.3.458.0.zip\bin\ReSharper into this folder
  3. Suspended and resumed resharper in Visual Studio 10 by using the button in Tools|Options|Resharper

After this, the plugin got enabled.

I am running W7x64 professional.

Hope this can be of help to other people as well. :-)

Dimeter answered 9/7, 2012 at 8:9 Comment(0)
S
1

Suspend and Resume Resharper may work. It was working for me.

Sourwood answered 30/1, 2018 at 20:40 Comment(1)
Works for me, actually restarting VS also work but this trick is faster.Coerce
J
0

Try the following steps, they worked for me,

  • Open the Resharper installer
  • check if any item is asking for repare, if yes then click on install.
  • Now open visual studio and go to resharper option
  • if the first option is "why dot cover is diabled", click on it.
  • and enable the dot cover by either taking the free trial or logging in with your resharper id.
  • It will take few seconds to refresh
  • You will get back those icons for running or debugging unit test.
Jackfruit answered 5/9, 2019 at 6:1 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.