Coded UI build server integration process

感情迁移 提交于 2019-12-06 15:24:16

问题


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

The project looks like this:

  • the AUT is a WPF application
  • the developers are working with Visual Studio 2010 Professional
  • automation testers joined the project with Visual Studio 2012 Premium (VS Premium is needed for Coded UI tests)
  • Visual Studio 2010 Professional is installed on the build server
  • Jenkins is used
  • a VM is configured for the development and a 2nd VM will be used by the testers

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.

Thanks,


回答1:


  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.


来源:https://stackoverflow.com/questions/19683598/coded-ui-build-server-integration-process

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!