The Amazing Cucumber
I just spent the last couple of hours trying to figure out why my cucumber feature which uploads a file to s3 using paperclip wasn't working.
It turns out that the path is used when running a textmate command is different to path when you start a terminal session. I haven't found the reason for this but as a quick fix I added:
. /etc/profile
to the run feature and run single scenario commands in my textmate bundles. I will endevour to do some more research into this for a better solution.
Ik heb een best complex script nu werkend gekregen. Het harvesten van resources ala Dune 2.
Dus stel je voor: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.
Cucumber mint soup and super spicy chickpeas