如何在多个产品版本上运行MTM测试? [英] How to run MTM tests on multiple product builds?

查看:99
本文介绍了如何在多个产品版本上运行MTM测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在产品(Desktop Application)的内部版本上运行MTM测试。
现在,我们希望在两个产品版本上运行相同的测试:Beta和Release。

We have MTM tests running on Release build of our product (Desktop Application). Now we want the same tests to run on two product builds: Beta and Release.

从MTM(或tcm)启动测试运行时,我们需要一种将值传递给测试运行的方法,以告知其版本/内部版本需要测试的产品。然后,将在测试方法中读取该值,并在执行测试时做出正确的决定(例如安装路径,测试结果文件更新等)。

When a test run is initiated from MTM (or tcm), we need a way to pass a 'value' to the test run telling it which version/build of the product it needs to test. This 'value' will then be read in the test method and correct decision will be taken while the tests are executing (like installation path, test results file updates etc).

有什么办法可以做到这一点?在TFS或MTM中?

Is there any way to achieve this? in TFS or MTM?

推荐答案

我们在项目中也遇到了类似的问题。我们决定修改构建定义模板,以将产品构建类型(Beta或RTM或Release)作为输入参数。在TFS构建过程中使用该值,我们可以更新TFS构建名称以反映产品构建类型,也可以在TFS构建过程中创建文件(xml)来包含此类型的详细信息。

We also faced similar problem in our project. We decided to modify the build definition template to take product build type (Beta or RTM or Release) as an input parameter. Using this value during TFS build, we can either update the TFS build name to reflect the product build type or create a file (xml) as part of TFS build process to contain this type detail.

有关如何添加自变量和参数以构建定义的更多信息,请参见此处: http://www.ewaldhofman.nl/post/2010/04/27/Customize-Team-Build-2010- e28093-Part-2-Add-arguments-and-variables.aspx

See here for more detail on how to add Arguments and Parameters to build definition: http://www.ewaldhofman.nl/post/2010/04/27/Customize-Team-Build-2010-e28093-Part-2-Add-arguments-and-variables.aspx

这篇关于如何在多个产品版本上运行MTM测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆