This talk begins with a survey of the landscape of iPhone UI testing. We’ll discuss the work done by Dr. Nic Williams in unit-testing Objective-C code with RSpec, and by Matt Gallagher in spidering the iPhone UI with an XPath test script.
That will be a natural jumping-off point to explain why a full-fledged “GUI driver” for iPhone apps has been long in coming. We’ll look at different ways to prod at application code, and discuss the tradeoffs. Finally, I’ll introduce a simple library of Ruby glue code to connect Cucumber test scripts to the iPhone. The technique will be very basic, but just powerful enough to test a simple iPhone app.
Ian Dees saw his first Timex Sinclair 1000 over 20 years ago, and was instantly hooked. Since then, he’s debugged embedded assembly code using an oscilloscope, written desktop apps in C++, and joyfully employed scripting languages to make testing less painful. Ian currently writes GUI code for handheld instruments as a Software Engineer at Tektronix.
Ian is the author of the book Scripted GUI Testing With Ruby.
Comments on this page are now closed.
For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at firstname.lastname@example.org
Download the OSCON Sponsor/Exhibitor Prospectus
For media-related inquiries, contact Maureen Jennings at email@example.com
To stay abreast of conference news and to receive email notification when registration opens, please sign up for the OSCON newsletter (login required)
View a complete list of OSCON contacts