I need a free code coverage tools in .NET for personal project. NCover is bit expensive for person use.
Cobertura Plugin for the code coverage data.
It's just a measure of whether or not the tests execute the code.) The result is an array of tools to choose from that help you see how well your test suite covers your codebase.
NET code coverage. There is an open source NCover that can be found on SourceForge and there is a company called NCover, LLC. There has been additional development on both products since this 2004 reference.
Discontinued versions of NCover are still free (and still work quite well, in my opinion). Get them here.
UPDATE (20th Nov, 2012): I believe OpenCover is now the best option. I've used it with great success on my current .NET 4 project.
OpenCover is the successor of PartCover and actively developed (as of feb. 2013).
Find it on GitHub or install as a NuGet.
From the creator of both products:
NOTE: PartCover is now in Maintenance mode (fixes only) all new development is being done on OpenCover which now has 32/64 bit support and also supports branch as well as sequence coverage.
You may also wish to use ReportGenerator to get human-friendly reports.
Available on Codeplex and also as a NuGet.
As far as I can tell, it's the reporting part that lags behind commercial offerings, lacking custom aggregation/drill-down abilities, but it's certainly usable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With