iOS:UI 测试 +持续集成?
我正在寻找一个适用于 iOS 项目的 UI 测试框架,它可以与 Jenkins 一起使用。我已经找到了 NativeDriver (https://code.google.com/archive/p/nativedriver/ )和弗兰克(https://github.com/moredip/Frank),但是没有有关组合的信息与 CI。
由于我在使用它们时都遇到了问题并且无法让它们完美工作,因此我想知道投入更多时间是否值得。 CI 对于我们的项目来说是必须的,所以我想知道是否有人有与 CI 一起对 Xcode 项目进行 UI 测试的经验。
I'm looking for a UI-testing framework for iOS projects which can be used together with Jenkins. I already found NativeDriver (https://code.google.com/archive/p/nativedriver/) and Frank (https://github.com/moredip/Frank), but no information about the combination with CI.
As I had problems with both of them and did not get them to work perfectly, I'd like to know if it pays out to invest more time. CI is a must for our project, so I would like to know if someone has experience with UI-testing a Xcode project together with CI.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我前段时间写了一篇关于使用 Frank 和 Bamboo 设置 CI 的博客文章 - http://p0deje.blogspot.com/2011/10/continuous-integration-for-ios-app-with.html。
我还为 NativeDriver 实现了 Ruby 绑定的 iOS 部分 - http://rubygems.org/gems/nativedriver。因此,相同的 Bamboo 设置可以应用于 NativeDriver,只需将后端从 Frank 更改为 NativeDriver 即可。
I have written a blog post some time ago on setting CI with Frank and Bamboo - http://p0deje.blogspot.com/2011/10/continuous-integration-for-ios-app-with.html.
I also implemented iOS part of Ruby bindings for NativeDriver - http://rubygems.org/gems/nativedriver. So, the same Bamboo setup can be applied to NativeDriver, just change the backend from Frank to NativeDriver.
有一个非常新的版本刚刚推出,名为 Zucchini。作者从 CI 的想法开始,并确保它可以从 Jenkins/Hudson 运行。它是一个 BDD 框架,使用 Coffee 脚本将故事映射到 UI。我在最近的一次会议上看到了它的演示,看起来不错。我想说,我看到的唯一缺点是缺乏文档和学习 Coffeescript 的要求。
There is a very new one just out called Zucchini. The authors started with the idea of CI and ensured that it can be run from Jenkins/Hudson. It's a BDD framework which uses Coffee script to map stories to UI. I saw a demo of it at a recent conference and it looked good. I would say that the only cons to it I see are a lack of documentation and the requirement to learn Coffeescript.
我还没有尝试过任何 CI,但我知道 KIF 可以使用 KIF 与 Jenkins 集成="https://github.com/square/waxsim" rel="nofollow">WaxSim 它非常适合 UI 自动化。
I haven't tried any CI with it, but I know KIF can be integrated with Jenkins using WaxSim and it's pretty good for UI automation.