UI Testing in Xcode

CocoaHeads on 1 May 2015
WWDC Xcode UI tests Usability

Inspired by Apple WWDC 2015, a fresh overview of UI Testing tools in Xcode as well as a quick demo.

About this talk

What is this talk about?

The UI testing tools Apple announced at WWDC 2015, covered fresh off the keynote: what they can automate, how test recording works, and a quick live demo.

Which UI testing tools does it compare?

Apple's own stack - XCTest, Accessibility, and UIAutomation - against the third-party options of the time: KIF, Calabash, and Subliminal for UI, plus Kiwi, Specta, and Quick for unit tests.

When did Xcode get native UI testing?

Xcode 7, with the Cocoa Touch UI Testing bundle on iOS 9. The talk traces the path there from unit tests in Xcode 5 and performance tests in Xcode 6.

Where can I watch it?

The recording is embedded at the top of this page, and the slides are linked in the resources section.