Sha256: 5c2790ce06ea20a5e7f954a61bc91c76ad5291e1f32dd12ec5e05051949d6efc
Contents?: true
Size: 1.58 KB
Versions: 5
Compression:
Stored size: 1.58 KB
Contents
######################################## # # # Important Note # # # # When running calabash-ios tests at # # www.lesspainful.com # # this file will be overwritten by # # a file which automates # # app launch on devices. # # # # Don't rely on this file being # # present when running at # # www.lesspainful.com. # # # # Only put stuff here to automate # # iOS Simulator. # # # # You can put your app bundle path # # for automating simulator app start: # # Uncomment APP_BUNDLE_PATH =.. # # # ######################################## require 'calabash-cucumber/launcher' # Uncomment and replace ?? appropriately # This should point to your Simulator build # which includes calabash framework # this is usually the Calabash build configuration # of your production target. #APP_BUNDLE_PATH = "~/Library/Developer/Xcode/DerivedData/??/Build/Products/Calabash-iphonesimulator/??.app" # Before do |scenario| @calabash_launcher = Calabash::Cucumber::Launcher.new @calabash_launcher.relaunch @calabash_launcher.calabash_notify(self) end After do |scenario| unless @calabash_launcher.calabash_no_stop? if @calabash_launcher.active? @calabash_launcher.stop else Calabash::Cucumber::SimulatorHelper.stop end end end
Version data entries
5 entries across 5 versions & 2 rubygems