Testing iPhone apps with Ruby and Cucumber

A session at OSCON 2009

Wednesday 22nd July, 2009

10:45am to 11:30am (PST)

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.

About the speaker

This person is speaking at this event.
Ian Dees

Software utility player / musical barnstormer / accidental cook

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 10:45am11:30am PST

Date Wed 22nd July 2009

Short URL


View the schedule



Books by speaker

  • Using JRuby
  • Scripted GUI Testing with Ruby

See something wrong?

Report an issue with this session