标签云

微信群

扫码加入我们

WeChat QR Code

I wonder what options there are for .NET (or C# specifically) code coverage, especially in the lower priced segment?I am not looking for recommendations, but for a comparison of products based on facts. I know the following:NCoverSeems to be very popular and looks quite goodSupports statement coverage and branch coverage$480 for "NCover 3 Complete"Older beta versions are available for freeVisual Studio (2008 Pro) | (2005 Team System (Development, Test or Team Suite Editions))Well, it's Microsoft so I'd expect it to work properlyFully integrated into Visual StudioAt least $5,469PartCover - no further development (moved to OpenCover)Open sourceSupports statement coverageOpenCover - successor to PartCoverOpenSourceSupports branch and statement coverage32 and 64 bit supportSilverlight supportBackgroundTutorial on The Code Project by the primary developerNo .NET Core support yetSD Test CoverageWorks with 32 and 64 bits, full C# 4.0Handles both small and very large code bases$250 for single user licenseJetBrains dotCover$100 for Personal License. Free for user groups, open source projects, students and teachers.Supports statement coverageSilverlight supportNCrunch$159 for personal license$289 for commercial seat license* Free during beta, to become commercial, pricing unknown future unknown.Code coverage indicators in Visual StudioContinuous (near real time) testingVisual per-test code coveragePerformance metrics, parallel multi-core test executionNDepend$410 for developer licenseNDepend can import coverage data from NCover, DotCover, Visual Studio 2017; 2015, 2013, 2012, 2010 and 2008 Code Coverage files.Dependency graphDependency structure matrixVisualizing code metricsValidating code rules


Consider to migrate to softwarerecs.stackexchange.com and keep open.

2019年06月26日01分02秒

The question is already duplicated in softwarerecs.stackexchange.com/questions/123/…. Can it be migrated & merged?

2019年06月25日01分02秒

How can this question have 406 upvotes when it is quite clearly a “Which is best” type question?

2019年06月25日01分02秒

I didn't see AxoCover mentioned here, it is free and works quite well IMO: https://marketplace.visualstudio.com/items?itemName=axodox1.AxoCover

2019年06月25日01分02秒

Gotta love TestDriven.NET; as it happens, I use VSTS, but I tend to use NUnit (not MSTes), and use TestDriven.NET to "Test With -> Team Coverage", which uses the MSTest coverage tool (including colorizing) with my NUnit tests. Fantastic.

2019年06月26日01分02秒

This is what I used as well - until I moved my apps into 64bits :-(

2019年06月26日01分02秒

Doesn't work with .NET core yet.

2019年06月26日01分02秒

PartCover has essentially been replaced by OpenCover (github.com/sawilde/opencover), as PartCover stagnated with support only for .NET 2.

2019年06月26日01分02秒

dotCover is released and available for purchase since Sep 2010: jetbrains.com/dotcover

2019年06月25日01分02秒

dotCover is also part of TeamCity, no additional personal licenses required

2019年06月25日01分02秒

Not free as of 3/20/2014

2019年06月25日01分02秒

TestCocoon was renamed to Squish Coco when the main developer (and TestCocoon) joined froglogic. the current Squish Coco release also supports C#.

2019年06月26日01分02秒

Doesn't seem to be available anymore...

2019年06月26日01分02秒

The version on Sourceforge is the basis for the current versions of NCover. It's not being actively worked on/supported anymore but still widely available. They are up to version 3.0 now.

2019年06月25日01分02秒

Hi! May one contact you over MSN/ICQ/XMPP/... or just email? I would like to have a chat with you on how you implemented compiling ASTs back to source.

2019年06月25日01分02秒

nikic: See my bio for an email contact address.

2019年06月25日01分02秒

nikic: ... or, you could pose an SO question and leave a forward reference to it here.It might get answered :-}

2019年06月25日01分02秒

I have written you an email ;) If you feel like that being more of an SO-question, tell me so, I'll reask it here :)

2019年06月25日01分02秒

Okay, here goes the question: stackoverflow.com/questions/5832412/…

2019年06月26日01分02秒