简体   繁体   English

为样本测试计划构建TFS项目?

[英]Building TFS projects for a sample test plan?

What I want to do is create a sample project and use it as a new build for learning MTM (Microsoft Test Manager).I am going through this video 我要做的是创建一个示例项目,并将其用作学习MTM(Microsoft测试管理器)的新版本。

http://www.microsoftvirtualacademy.com/training-courses/software-testing-with-visual-studio-2012-exam-70-497-jump-start#fbid=SxABT5LX4lV http://www.microsoftvirtualacademy.com/training-courses/software-testing-with-visual-studio-2012-exam-70-497-jump-start#fbid=SxABT5LX4lV

and have hit a brick wall at 34.00 minutes as he uses a new build for a project, I am having trouble creating a new build , I get the following error 并且在他使用新版本进行项目时,在34.00分钟时碰到了砖墙,我在创建新版本时遇到了麻烦,出现以下错误

TF215097: An error occurred while initializing a build for build definition \\TestPlan\\Buildone: Exception Message: The process parameter BuildSettings is required but no value was set. TF215097:初始化构建定义\\ TestPlan \\ Buildone的构建时发生错误:异常消息:需要过程参数BuildSettings,但未设置任何值。 A value must be set on the definition or when the build is queued (Category: #100 Required, Display Name: Items to Build). 必须在定义上或当构建排队时设置值(类别:#100必需,显示名称:要构建的项目)。 (type ArgumentException) Exception Data Dictionary: MS.TF.Diagnostics.Logged = True (类型ArgumentException)异常数据字典:MS.TF.Diagnostics.Logged = True

I dont know if I need to do choose a build , all I want to do is give an overview of MTM (Microsoft Test Manager) and a sample test such as 'Users can logon to system'. 我不知道是否需要选择构建,我只想概述MTM(Microsoft测试管理器)和示例测试,例如“用户可以登录系统”。

In general, in order to run a test using MTM you need a build definition which builds the solution containing your test implementation and reference the drop location of the build in test plan then. 通常,为了使用MTM运行测试,您需要一个构建定义,该定义将构建包含您的测试实现的解决方案,然后在测试计划中引用该构建的放置位置。

According to the error message you did not specify what solution has to be built in your build definition. 根据错误消息,您没有在构建定义中指定必须构建的解决方案。

Are you familiar with creating a build definition? 您熟悉创建构建定义吗?
If not there is a lot of articles on MSDN (here is one of them Create a Build Definition ). 如果不是,那么有关MSDN的文章很多(这里有其中一篇, 创建构建定义 )。

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

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