3

I am relatively new to the Visual Studio IDE and working on a C# project for which I am using xUnit framework to do testing.

I have planned to use the "OpenCover" tool for determining the code coverage. Could someone tell me how to integrate this tool with Visual Studio?

g t
  • 7,287
  • 7
  • 50
  • 85
inquisitive
  • 1,558
  • 4
  • 16
  • 22
  • 1
    [OpenCover](https://github.com/sawilde/opencover) is a command line tool it doesn't really integrate with Visual Studio. I just have a command line open and run it when I need to. – Shaun Wilde Jun 07 '12 at 12:51
  • Hello Shaun.. I got to know from GIT website that Opencover doesnt support windows XP environment (before a yr).. Is there any support added for operability with xp now? – inquisitive Jun 08 '12 at 07:51

1 Answers1

1

OpenCover itself is a command-line-only tool. In order to present the results "nicely" you need a visualiser, such as ReportGenerator (which will work fine with xUnit) or OpenCoverUI (which only claims to work with MSTest and NUnit).

ClickRick
  • 1,553
  • 2
  • 17
  • 37