Team City 和 Visual Studio 2010 以及覆盖工具
在我的团队中,我们将尽快使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您可以使用 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.