4 ms·
1. You can't automate running of the UIAutomation tests. Square really wanted this for continuous integration. 2. Writing the UIAutomation scripts is really te
by spindel 15y ago
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.
- micampe 15y agoI’m kinda surprised by #2: I would think a scripting language to be ideal for this kind of thing.
- spindel 15y agoOur 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.