8

I was looking for it for a while, but couldn't find a way to enable the test coverage features in the Rider Unit Test tool window. https://www.jetbrains.com/help/rider/Unit_Tests_Coverage_window.html

WeSam Abdallah
  • 1,050
  • 1
  • 10
  • 16

2 Answers2

23

The keyword is dotCover, you need to enable it manually in File => Settings => Plugins => search for "dotCover" and enable it.

enter image description here

WeSam Abdallah
  • 1,050
  • 1
  • 10
  • 16
  • Looking at my current rider (2022.2.1 build #RD-222.3739.37 from 8th Autust 2022), this has moved now to File => Settings => "Build, Execution, Deployment" => dotCover. – anmatr Aug 23 '22 at 14:52
  • @anmatr This is where the dotCover settings reside _after_ having enabled the plugin. – Eike Feb 02 '23 at 10:54
  • 1
    I went to plugins and couldn't find it, neither in marketplace nor in installed. I do have a "coverage" option in `Build, Execution, Deployment` though, but no options there – John Demetriou Apr 04 '23 at 08:00
  • @JohnDemetriou, for me dotcover plugin was also missing in marketplace in Rider, because it was already installed, but was not enabled (why?). You might be able to find it in the list of installed plugins, check the enablement checkbox and then save to enable. – victorm1710 Jun 22 '23 at 12:12
0

once you enable the plugin please do restart your ide... still if you do not see the code coverage icon in similar manner then try to check again if plugin have been added or not else add and try to restart IDE-rider.

enter image description here

Mureinik
  • 297,002
  • 52
  • 306
  • 350