Tagged Questions
15
votes
8answers
6k views
Does VS2010 Code Coverage support nUnit?
According to this schema VS2010 Premium and Ultimate has a tool for checking Code Coverage - together with a few other testing tools. Does this support nUnit too, or just MS test?
4
votes
1answer
268 views
MSTest Shows Partial Code Coverage on Compound Boolean Expressions
From Microsoft's documentation, partially covered code is "...where some of the code blocks within the line were not executed." I'm pretty stumped on this one (simplified for brevity):
Given this ...
8
votes
3answers
2k views
OpenCover generates an empty report
I am using OpenCover to determine code coverage for a simple C# project.
The problem
Although I can see MSTest running the unit tests (and succeeding) the generated report is empty.
Details
This ...
5
votes
4answers
595 views
How do I exclude service references from code coverage using the runsettings file in Visual Studio 2012?
I'm using a custom runsettings file to control what projects are inspected for code coverage. I used the default template provided by Microsoft and have so far been able to exclude the items I want ...
4
votes
1answer
1k views
OpenCover MSBuild Integration - No results generated
After getting OpenCover to work on my machine, the next step is getting it to work with the build server.
I've been trying to integrate OpenCover with MSBuild on a Bamboo Build Server. I have ...
1
vote
2answers
3k views
MSTest code coverage
I have a test project for a web service and, when I run tests in debug mode, everything works ok. However, when I just run tests, I get following error, for a referenced assembly that I try to obtain ...