用于自动化测试的 TFS 2008 设置

发布于 2024-07-14 02:59:56 字数 472 浏览 4 评论 0原文

我很困惑。

我在我的开发服务器上安装了 TFS,它也兼作构建机器。 当我签入代码时,构建工作正常,但是当构建尝试运行测试时,我收到错误:

MSBUILD:警告 MSB6004:指定的任务可执行位置“C:\ Program Files \ Microsoft Visual Studio 9.0 \ Common7 \ IDE” \MSTest.exe”无效。 之前的错误已转换为警告,因为该任务是在ContinueOnError=true 的情况下调用的。 构建继续,因为任务“TestToolsTask”上的“ContinueOnError”设置为“true”。 完成执行任务“TestToolsTask”——失败。

我搜索了各种论坛,有几个人建议必须在构建服务器上安装 Visual Studio 2008 测试版。 谁能证实这是真的,更重要的是它是否能解决我的问题? 还是只安装专业版就可以了?

谢谢,困惑。

I'm confused.

I have TFS installed on my development server, which also doubles as the build machine. The builds work fine when I check-in code, but when the build attempts to run the tests I get an error:

MSBUILD : warning MSB6004: The specified task executable location "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\MSTest.exe" is invalid.
The previous error was converted to a warning because the task was called with ContinueOnError=true.
Build continuing because "ContinueOnError" on the task "TestToolsTask" is set to "true".
Done executing task "TestToolsTask" -- FAILED.

I have searched various forums and several people have suggested that visual studio 2008 test edition has to be installed on the build server. Can anyone confirm that this is true and more importantly whether it will solve me problem? Or can I merely install professional edition?

Thanks, Confused.

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

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

发布评论

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

评论(3

欢你一世 2024-07-21 02:59:56

是的 - 您需要 VSTS 2008 的开发人员版或测试版(或安装的 Team Suite 版)。 这样,能够将单元测试结果发布回 TFS 的 MSTest.exe 版本就安装在生成服务器上。

只要签入内容的人拥有针对他们签入的工件的适当版本的 Visual Studio Team System 的许可证,那么您就可以享受在构建服务器上构建的许可证。 (虽然我只有物理学位,所以不幸的是我没有资格弄清楚微软的许可条款:-))

希望这会有所帮助,

马丁。

Yes - you need either the Developer or the Test edition of VSTS 2008 (Or the Team Suite Edition installed). This is so that the version of MSTest.exe that is able to publish the unit test results back into TFS is installed on the build server.

So long as the people who check in stuff have a license to the appropriate version of Visual Studio Team System for the artifact that they are checking in then you are covered in terms of licensing for it being built on the build server AFAIK. (Though I only have a degree in Physics so I am woefully under-qualified for figuring out Microsoft licensing terms :-) )

Hope that helps,

Martin.

兮颜 2024-07-21 02:59:56

您在那台机器上安装了 Team Build 吗?

此外,您还需要安装构建所需的所有内容。 例如,为了运行 Web 测试,开发人员必须在其工作站上安装 Team Test。 这意味着您需要将其安装在构建服务器上。

Did you install Team Build on that machine?

Also, you will need to install everything that needs to build. For instance, in order to run Web tests, a developer would have to have Team Test installed on his workstation. That means that you need to install it on the build server.

〗斷ホ乔殘χμё〖 2024-07-21 02:59:56

Microsoft 不建议将 Team Build 安装在与主 TFS 服务器相同的计算机上。

相信我,我同意他们的观点。

TFS 由 6-7 个数据库和一个 OLAP 立方体(TFS 仓库)组成,这些数据库实际上就像一群老鼠。

如果源、工作项、用户和项目增加,服务器上的负载也会增加!

我经历过必须等待预定的数据仓库处理完成才能签入的情况!

为什么不为您的构建创建一个虚拟服务器,您将被设置为 TFS2010 中即将推出的“虚拟化”!

Microsoft doen't recommend installing Team Build on the same machine as the main TFS server.

And believe me I agree with them.

TFS is made of 6-7 database and an OLAP cube (TFS Warehouse) these are literally acting like pack rats.

Are the sources, work items, users and projects increases, the load on that server increases as well!

I went through a point where I had to wait for the scheduled data warehouse processing to be completed to do a check-in!

Why don't you create a vurtual server for your build, you'll be set for "virtualization" that are coming in TFS2010!

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