Running UIAutomation scripts from Xcode

前端 未结 6 2050
甜味超标
甜味超标 2020-12-14 08:44

Did anyone succeed in setting up automated UIAutomation tests in Xcode?

I\'m trying to set up a target in my Xcode project that should run all the UIAutomation scrip

6条回答
  •  一个人的身影
    2020-12-14 09:13

    Note: this is not a direct answer to the question, but it is an alternative solution to the underlying problem.

    While searching for in-depth information about UIAutomation, I stumbled across a framework by Square called KIF (Keep it functional). It is a integration testing framework that allows for many of the same features as UIAutomation, but the great thing about is is that you can just write your integration tests in Objective-C.

    It is very easy to setup (via CocoaPods), they have good examples too, and the best thing is that it's a breeze to set up with your CI system like Jenkins.

    Have a look at: http://github.com/square/KIF

提交回复
热议问题