编码的 UI 构建服务器集成过程 [英] Coded UI build server integration process

查看:20
本文介绍了编码的 UI 构建服务器集成过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们希望在我们的构建服务器中集成一个自动化功能测试解决方案(使用 SpecFlow 和 Coded UI 开发).

We would like to integrate an automated functional test solution (developed using SpecFlow and Coded UI) in our build server.

项目如下所示:

  • AUT 是一个 WPF 应用程序
  • 开发人员正在使用 Visual Studio 2010 Professional
  • 自动化测试人员使用 Visual Studio 2012 Premium 加入项目(编码 UI 测试需要 VS Premium)
  • Visual Studio 2010 Professional 安装在构建服务器上
  • 使用Jenkins
  • 为开发配置了一个 VM,测试人员将使用第二个 VM

有人可以帮助我完成构建服务器集成过程吗?执行此操作的主要步骤是什么?我们需要将构建服务器上的 VS 版本升级到 2012 Premium 吗?还有其他一些解决方案/解决方法吗?

Could someone help me with the build-server integration process? Which are the main steps to do this? Do we need to upgrade the VS version on the build server to 2012 Premium? Are there some other solutions/workarounds?

注意:我在集成、构建服务器配置等方面是新手.

Note: I'm rookie in terms of integration, build-server configuration etc.

谢谢,

推荐答案

  1. 您可能希望将 CodedUI 测试放在有序测试中.右键单击解决方案->添加->orderedTest.
  2. 您将要安装 https://wiki.jenkins-ci.org/display/JENKINS/MSTestRunner+Plugin 这不是必需的,但它使在 jenkins 中使用 mstest 更容易一些.
  3. 此时你只需要在jenkins中配置插件即可运行你的orderedTest.它需要你指向 mstest 和你的orderedtest 的位置.
  1. You're going to want to put your CodedUI tests inside an orderedTest. Right Click on the solution -> add -> orderedTest.
  2. You're going to want to install https://wiki.jenkins-ci.org/display/JENKINS/MSTestRunner+Plugin it's not a requirement, but it makes working with mstest in jenkins a little easier.
  3. At this point you just need to configure the plugin in jenkins to run your orderedTest. It will need you to point to mstest and the location of your orderedtest.

这篇关于编码的 UI 构建服务器集成过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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