I'm looking for a tool that I can run against my code base to determine which areas of my code are covered by NUnit tests I've written. I would appreciate any suggestions at all, and example usage if needed. Thanks!
Asked
Active
Viewed 7,866 times
13
-
3http://stackoverflow.com/questions/276829/code-coverage-for-c-net might help – Chris S Nov 01 '09 at 16:23
-
I had to dig a little but the sourceforge free NCover helped! Thanks so much! [http://ncover.sourceforge.net/] – mkelley33 Nov 01 '09 at 17:38
3 Answers
6
Personally, I like NCover along with TestDriven.NET (for Visual Studio integration).
PartCover is a good alternative, too. But as far as I know, there is no Visual Studio integration for PartCover.

Bryan Menard
- 13,234
- 4
- 31
- 47
-
Hey thanks! I downloaded PartCover, installed it, and configured it, but I got a ThreadInterrupted exception. The manual pointed to nunit-gui.exe, but I'm running NUnit 2.5. Is there a way to get this error to go away and run it with NUnit 2.5 for my asp.net mvc project? (I can provide full stack trace if it helps) – mkelley33 Nov 01 '09 at 16:49
3
I use TestDriven.NET at both work and home, works a treat for me :)

Sara
- 612
- 5
- 21
-
Hey thanks for the input. I took a look, but unfortunately I need something free. It looks like this tool costs money. Am I missing, or not finding a link to the free version? Thanks again! – mkelley33 Nov 01 '09 at 16:51
-
1
-
1
-
I didn't see on, but I'll take another look :) Thanks Sara and Agent_9191! – mkelley33 Nov 01 '09 at 17:20
-
Ok I got it, but I can't figure out how this tool reports coverage. Any ideas? – mkelley33 Nov 01 '09 at 17:26
-
Alright, I figured it out. Had to use free version of NCover! Thanks again. – mkelley33 Nov 01 '09 at 17:37