Skip to content

Instantly share code, notes, and snippets.

@maxehmookau
Created December 1, 2012 20:06
Show Gist options
  • Save maxehmookau/4184614 to your computer and use it in GitHub Desktop.
Save maxehmookau/4184614 to your computer and use it in GitHub Desktop.
BDD with iOS and testingwithfrank
def app_path
ENV['APP_BUNDLE_PATH'] || (defined?(APP_BUNDLE_PATH) && APP_BUNDLE_PATH)
end
Given /^I launch the app using iOS (\d\.\d) and the (iphone|ipad) simulator$/ do |sdk, version|
launch_app app_path, sdk, version
end
Feature:
As a User
I want to see an Add Tile button on the first view
So that I can add a new tile later on
Scenario:
Given I launch the app using iOS 6.0 and the ipad simulator
Given the device is in portrait orientation
Then I should verify that my name is Max
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment