我可以使用哪些质量好code覆盖面为C#/。NET? [英] What can I use for good quality Code Coverage for C#/.NET?
本文介绍了我可以使用哪些质量好code覆盖面为C#/。NET?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不知道什么选项有用于.NET(或C#专)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:
- NCover
- 似乎非常受欢迎,看起来相当不错
- 支持语句覆盖和分支覆盖
- $ 480NCover 3完成
- 较早的测试版,版本免费
- NCover
- Seems to be very popular and looks quite good
- Supports statement coverage and branch coverage
- $480 for "NCover 3 Complete"
- Older Beta-Versions available for free
- 嗯,这是微软,所以我希望它能够正常工作
- 完全集成到Visual Studio中
- 至少$ 5,469
- Well, it's Microsoft so I'd expect it to work properly
- Fully Integrated into Visual Studio
- At least $5,469
- 开启源代码
- 支持语句覆盖
- 开放源代码
- 支持分支语句覆盖
- 32位和64位支持
- Silverlight的支持
- 背景
- Tutorial由主要开发 $ C $的CProject
- OpenSource
- Supports branch and statement coverage
- 32 and 64 bit support
- Silverlight support
- Background
- Tutorial on CodeProject by the primary developer
- 工程与32位和64位,充分C#4.0
- 把手小型和超大型code碱基
- $ 250单用户许可证
- 对于个人许可证$ 100。免费为用户群,开源项目,学生和教师。
- 支持语句覆盖
- Silverlight的支持
- 159 $个人许可证
- 289 $商业席位牌
公测期间*免费,成为商业,价格未知 未来未知。 - 在Visual Studio中code覆盖指示器
- 连续(近实时)测试
- 视觉每个测试code覆盖
- 性能指标之间平行的多核心测试执行
- $ 410 获得开发许可证
- NDepend的可从NCover,DotCover时,Visual Studio 2013年,2012年,2010年和2008年的code覆盖文件导入覆盖数据。
- 依赖图
- 依赖结构矩阵
- 可视化code指标
- 验证code规则
- $410 for developer license
- NDepend can import coverage data from NCover, DotCover, Visual Studio 2013, 2012, 2010 and 2008 Code Coverage files.
- Dependency Graph
- Dependency Structure Matrix
- Visualizing Code Metrics
- Validating Code Rules
推荐答案
我用自带的 TestDriven.NET 的NCover的版本。它可以让你轻松地在你的单元测试类库单击鼠标右键,然后点击测试用 - >覆盖,它会拉起报告
I use the version of NCover that comes with TestDriven.NET. It will allow you to easily right-click on your unit test class library, and hit "Test With -> Coverage", and it will pull up the report.
这篇关于我可以使用哪些质量好code覆盖面为C#/。NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文