views:

274

answers:

2

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!

+4  A: 

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
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
+3  A: 

I use TestDriven.NET at both work and home, works a treat for me :)

Sara
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
Did you look at the Personal License?
Agent_9191
Yes, if it is for personal use I believe it is free?
Sara
I didn't see on, but I'll take another look :) Thanks Sara and Agent_9191!
mkelley33
Ok I got it, but I can't figure out how this tool reports coverage. Any ideas?
mkelley33
Alright, I figured it out. Had to use free version of NCover! Thanks again.
mkelley33