once bitten

words and things from Edd Dumbill 
Filed under

cucumber

 

OSCON Highlight: Testing iPhone apps with Ruby and Cucumber

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.

I just skimmed through the slides here. The iPhone testing work is inspirational stuff. Definitely going to give this a spin. There's also a nice nod to the value of XML-based UI creation.

Loading mentions Retweet

Filed under  //   cucumber   iphone   oscon   testing   xml  

Comments [0]