Reputation: 71
I am new to NUnit testing. I was able to write test cases for my functions, now what I want is to know the code coverage for my test cases. For that I use OpenCover. But I don't know how to install and get OpenCover to work with Visual Studio 2015, can anyone guide me to install OpenCover for Visual Studio and provide help to see the code coverage in Visual Studio?
Upvotes: 6
Views: 9973
Reputation: 4301
The best solution I found for code coverage in Visual Studio is as follows:
Upvotes: 7
Reputation: 335
You need some VS extension to include the coverage results in VS. One example: https://visualstudiogallery.msdn.microsoft.com/6950a046-8919-4935-8542-c6f37956f688/view/
I have nothing to do with this extension, it is just working for me. Use at your own risk :)
If you mean it and you can spent some $ go for http://www.ncrunch.net/
Upvotes: 0