本文介绍了是否有可可触摸UI自动化测试一个很好的教程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常我发现,几乎所有我最重要的测试案例为iPhone开发各地的UI测试,而不是业务逻辑或数据的测试运转。我不是很熟悉,在X code环境下的自动化UI测试。可有人点我一个很好的教程或书吗?

更新结果
这个问题是几年前写的,从那时起UI测试已经走过了很长的路要走。使用UI自动化仍然是一种选择,但是功能测试一个更好的解决方案目前,国际海事组织。

从KIF的GitHub的页面:

解决方案

Your best bet will be to use the UI Automation instrument that debuted with iOS 4.0. This can be scripted to test out many aspects of your user interface.

Apple provides a great introduction to this tool in the video for the WWDC 2010 session 306 - "Automating User Interface Testing with Instruments". I demonstrate how to set up scripts and do testing in the video for the "Testing" session of my advanced iOS development course on iTunes U. My notes on UI Automation from that class, including sample scripts, can be found here.

Additionally, you might want to look at James Turner's article "How to use UIAutomation to create iPhone UI tests" and Alex Vollmer's "Working with UIAutomation".

这篇关于是否有可可触摸UI自动化测试一个很好的教程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 08:06