简体   繁体   English

代码覆盖率工具和Visual Studio 2008 Pro

[英]Code Coverage Tools & Visual Studio 2008 Pro

Just wondering what people are using for code coverage tools when using MS Visual Studio 2008 Pro. 只是想知道人们在使用MS Visual Studio 2008 Pro时使用了哪些代码覆盖工具。 We are using the built-in MS test project and unit testing tool (the one that come pre-installed with MS VS 2008 pro)! 我们正在使用内置的MS测试项目和单元测试工具(已随MS VS 2008 pro预先安装的工具)!

NCover是一个非常受欢迎的选择。

我建议您使用NUnit进行测试,并使用NCover进行覆盖。

If you use the TestDriven.Net addin you will get a very good unit test runner and NCover thrown in as well. 如果您使用TestDriven.Net插件,您将获得一个很好的单元测试运行器和NCover。 Get the personal developer version. 获取个人开发人员版本。 This is realy the best ever addin for visual studio. 这确实是Visual Studio最好的插件。

I have been using the built in VS tools and have been happy with the results. 我一直在使用内置的VS工具,并对结果感到满意。 NUnit / NCover seem to have a generally good reputation from people I've spoken with. 在与我交谈过的人中,NUnit / NCover似乎享有良好的声誉。

This post has a great deal of content about code coverage and other metrics: What can be alternative metrics to code coverage? 这篇文章有很多有关代码覆盖率和其他指标的内容: 什么是代码覆盖率的替代指标?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM