Running Windows Phone 8.0 tests in a Continuous Integration environment

独自空忆成欢 提交于 2019-12-11 09:44:21

问题


I have a VS 2013 solution with a WP8 App, a WP8 Library for my viewmodels, a WP8 Unit Test project to test my library and other standard unit tests projects. The solution is under TFS 2012 source control, the build controller is setup and it correctly build my solution.

But my WP8 specific tests are not ran after automatic build. All other standard Unit Tests projects run well.

Some additional infos:

  • the ".xap" package for the test project is well generated
  • the build process Template (Default Template) is setup to use "Visual Studio Test Runner"
  • the build agent is running interactively
  • when i launch vstest.console.exe from the command line, giving the ".xap" package as argument, the test are well discovered and executed

I'am i missing something in the configuration ?


回答1:


Windows Phone apps are currently not supported on Team Build, as documented here.

Feature            | Windows Phone  | Windows Store App
Team Build support | Not supported. | Includes support for running unit tests as part of Team Build.

There are a few unsupported work-arounds to solve your issue, more an be found here.



来源:https://stackoverflow.com/questions/26252785/running-windows-phone-8-0-tests-in-a-continuous-integration-environment

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