Team City 和 Visual Studio 2010 以及覆盖工具

发布于 2024-08-24 06:07:30 字数 185 浏览 4 评论 0原文

在我的团队中,我们将尽快使用 Visual Studio 2010 和 .NET 4.0,我有一个关于 VS 2010 和 Team City 的问题。 VS2010中有一个简单的工具来测量mstest覆盖率。问:是否可以从 team city 读取 ms-Coverage 的结果? 如果是,我们如何设置该配置。

最良好的问候 亨里克

In my team we shall use Visual Studio 2010 and .NET 4.0 as soon as possible and I have a question regarding VS 2010 and Team City.
In VS2010 there is a simple tool to measure mstest coverage. Question: Is it possible to read the result of ms-Coverage from team city?
If yes, how do we set up that configuration.

best Regard
Henrik

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

偏爱自由 2024-08-31 06:07:30

是的,您可以使用 vsinstr.exe 和 vsperfmon.exe 命令行工具来生成覆盖率数据。请参阅Visual Studio 的代码覆盖率

获得代码覆盖率文件后,您需要让 TeamCity 报告数据。 这篇文章应该可以帮助您入门,特别是查看“配置 TeamCity 以显示统计信息”标题。

Yes, you can use the vsinstr.exe and vsperfmon.exe command lines tools to generate coverage data. See Code Coverage with Visual Studio.

Once you have the code coverage files, you need to get TeamCity to report the data. This article should get you started, in particular, look under the "Configure TeamCity to display statistics" header.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文