Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Free code coverage tools in .NET for personal project [closed]

I need a free code coverage tools in .NET for personal project. NCover is bit expensive for person use.

like image 317
Mahesh Avatar asked Jan 22 '09 12:01

Mahesh


People also ask

Which plugin is used for getting code coverage for .NET projects?

Cobertura Plugin for the code coverage data.

What is code coverage tools C#?

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.

Is NCover open-source?

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.


2 Answers

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.

like image 119
Kent Boogaart Avatar answered Sep 29 '22 15:09

Kent Boogaart


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.

like image 20
Cristian Diaconescu Avatar answered Sep 29 '22 14:09

Cristian Diaconescu