简体   繁体   English

iOS企业部署的自动化测试

[英]Automated testing of iOS enterprise deployment

I run the mobile development team at my company and we have an Enterprise app store to distribute the apps to our employees. 我在公司运营着移动开发团队,我们有一个企业应用商店,可以将这些应用分发给我们的员工。 The store is fed directly from our continuous build server (Jenkins on OS X). 该商店直接从我们的连续构建服务器(OS X上的Jenkins)提供数据。

Our biggest problem is that apps that compile and build properly on Jenkins often don't install on the device due to strange validation and license requirements that aren't imposed on dev devices. 我们最大的问题是,由于未对开发设备强制执行奇怪的验证和许可要求,因此在Jenkins上正确编译和构建的应用程序经常无法安装在设备上。

Is there a way (preferably Jenkins integrated) to automate the testing of this deployment step ie push a built .ipa to a device and see if it installs correctly? 是否有一种方法(最好是Jenkins集成的方法)可以自动执行此部署步骤的测试,即将内置的.ipa推送到设备上,并查看其是否正确安装?

You can use Greg Hughes' transporter chief script to install your application from a shell, this script is using the same features as Itunes to install the ipa. 您可以使用Greg Hughes的transporter首席脚本从Shell安装您的应用程序,此脚本使用的功能与Itunes相同,用于安装ipa。

What errors do you get while installing? 您在安装时遇到什么错误? I've been running our ad hoc distribution site for alpha and dev builds towards our customers and developers, and it have worked pretty smoothly for the past 12-16 months. 我一直在运行针对Alpha的临时发行站点,并为我们的客户和开发人员构建开发版本,并且在过去12到16个月中,它的运行非常顺利。

As long as the app is built and signed successfully there haven't been problems with the distribution, although we've had some "false positive" builds where some part of the process borked the app, this have now been pretty much eliminated by monitoring the success of each step and proper clean up before next build. 只要成功构建并签署了应用程序,发行版就不会出现问题,尽管我们有一些“误报”构建,而该过程中的某些部分使应用程序感到厌烦,但现在通过监视已将其消除了很多每个步骤的成功以及下一次构建之前的适当清理。

Greg Hughes @ github 格雷格·休斯@ github

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

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