News for hackers. Stuff that matters.
Re:IOS Integration Testing by Square by micampe on Friday July 15, 2011 @06:19PM (#2769365)
Why didn't you use UIAutomation? Was it lacking?

(http://developer.apple.com/library/ios/#documentation/Develo...)

Re:IOS Integration Testing by Square by spindel on Friday July 15, 2011 @07:16PM (#2769518)
1. You can't automate running of the UIAutomation tests. Square really wanted this for continuous integration.

2. Writing the UIAutomation scripts is really tedious (though it's much better in iOS [redacted]).

3. The UIAutomation tests ran very slowly.

4. Having to write all the tests in JavaScript isn't very flexible.

That said, just like UIAutomation, KIF stands on the shoulders of the great accessibility features in iOS. In many ways KIF is like an Objective-C version of UIAutomation.

Re:IOS Integration Testing by Square by micampe on Saturday July 16, 2011 @01:46PM (#2771206)
I’m kinda surprised by #2: I would think a scripting language to be ideal for this kind of thing.
Re:IOS Integration Testing by Square by spindel on Monday July 18, 2011 @01:23AM (#2775216)
Our iOS team at Square is more comfortable and efficient writing tests (and test libraries) in Objective-C than JavaScript. We actually wouldn't gain much from the 'scripting language'-ness of JavaScript, and the additional language and tool (Instruments) would make writing tests more complicated and painful.