Sha256: bcf12896de88dfd0038be1c9bf12ce6b357b19b24bdb7ff89bda51bfcbdd11ec
Contents?: true
Size: 1.3 KB
Versions: 5
Compression:
Stored size: 1.3 KB
Contents
######################################## # # # Important Note # # # # When running calabash-ios tests at # # www.xamarin.com/test-cloud # # 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 # # Xamarin Test Cloud # # # ######################################## require 'calabash-cucumber/launcher' # APP_BUNDLE_PATH = "~/Library/Developer/Xcode/DerivedData/??/Build/Products/Calabash-iphonesimulator/??.app" # You may uncomment the above to overwrite the APP_BUNDLE_PATH # However the recommended approach is to let Calabash find the app itself # or set the environment variable APP_BUNDLE_PATH Before do |scenario| @calabash_launcher = Calabash::Cucumber::Launcher.new unless @calabash_launcher.calabash_no_launch? @calabash_launcher.relaunch @calabash_launcher.calabash_notify(self) end end After do |scenario| unless @calabash_launcher.calabash_no_stop? calabash_exit if @calabash_launcher.active? @calabash_launcher.stop end end end
Version data entries
5 entries across 5 versions & 2 rubygems