Skip to content

Instantly share code, notes, and snippets.

@searls
Created February 5, 2011 15:16
Show Gist options
  • Save searls/812517 to your computer and use it in GitHub Desktop.
Save searls/812517 to your computer and use it in GitHub Desktop.
$ bundle exec cucumber
Feature: User posts to their blog
In order post to my blog while I'm travelling
As an author
I want to publish posts from my iPhone
Background: # features/example.feature:6
Given "Specs.xcodeproj" is loaded in the iphone simulator # iCuke-0.6.3/lib/icuke/cucumber.rb:197
execution expired (Timeout::Error)
/Volumes/HD/Users/justin/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/timeout.rb:64:in `launch'
features/example.feature:7:in `Given "Specs.xcodeproj" is loaded in the iphone simulator'
Scenario: # features/example.feature:9
When I tap "New post" # iCuke-0.6.3/lib/icuke/cucumber.rb:227
And I type "My post" in "Title" # iCuke-0.6.3/lib/icuke/cucumber.rb:231
And I type "Interesting things" in "Body" # iCuke-0.6.3/lib/icuke/cucumber.rb:231
And I tap "Post" # iCuke-0.6.3/lib/icuke/cucumber.rb:227
Then I should see "Published" # iCuke-0.6.3/lib/icuke/cucumber.rb:219
Failing Scenarios:
cucumber features/example.feature:9 # Scenario:
1 scenario (1 failed)
6 steps (1 failed, 5 skipped)
0m30.322s
@ajayjapan
Copy link

Thanks, but that doesn't seem to be the problem for me. The problem for me was that I hadn't created build/Debug-iphonesimulator in advance. Got it fixed. : )

@searls
Copy link
Author

searls commented Mar 4, 2011

@achainan - I just so happened to run into the exact same problem again. This time, the surface-layer cause was that I created the Xcode application with Xcode 4. I trashed the app and created it in Xcode 3.2.x and it worked fine (even after I went in and edited the app using Xcode 4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment