once bitten

words and things from Edd Dumbill 
Filed under

oscon

 

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]

OSCON hallways, from Pinar's pictures of OSCON 2009

I'm really enjoying Pinar's stylish reportage of OSCON 2009. Kinda curious to see if I get the industrial treatment too.

Loading mentions Retweet
Filed under  //   oscon   oscon2009  

Comments [0]

How not to use memcached

  • (Don't) read data from memcache to write back to a database.
  • (Don't) forget the negative caching case.
  • (Don't) set the cache timeouts too low.
  • (Don't) forget to lock.
  • (Don't) store low read/write ratio data.
  • (Don't) cache data too early.
  • (Don't) store large things
  • (Don't) store images
  • (Don't) rely on memcache as a persistence layer.
  • Slides from How not to use memcached, presented at OSCON by Jonathan Steinert from SixApart.

    Loading mentions Retweet
    Filed under  //   memcache   oscon  

    Comments [0]

    Slides from my OSCON Chef tutorial

    Yesterday I presented "Running the Show: Configuration Management with Chef" at OSCON
     
    It was the second time I'd given this tutorial, having debuted it at RailsConf earlier this year. The first time out I was beset my technical problems that, frankly, knocked my confidence and ruined the flow of the tutorial.
     
    This time around I had no such issues, and everything went more smoothly. To properly show how Chef works, I'd brought with me an entire intranet of 4 virtual machines, 2 laptops and 1 plug computer complete with a local Ubuntu and RubyGems mirror. I wasn't taking any chances on having to use the internet!
     
    There's a lot of material to learn about Chef, and I could easily teach for a whole day, or even two days. I think that is probably the biggest challenge left for this tutorial, as I felt the second half tried to quickly cram in too much in order to give attendees an overview of the possibilities.
     
    You can download my slides as a PDF from the conference web site.
     
    However, if you're into learning Chef, the best place to start too is the Chef Wiki and the Opscode cookbooks, which have great examples of how to idiomatically write Chef recipes.

    My thanks to everybody who attended the tutorial!

    Loading mentions Retweet
    Filed under  //   chef   oscon   tutorial  

    Comments [0]