Sha256: 98a3b8c8182cbb5a126c85c50a402f9c0246c0e40ebedf9af4d9968369b78cde
Contents?: true
Size: 956 Bytes
Versions: 3
Compression:
Stored size: 956 Bytes
Contents
@features_dir = File.join(FileUtils.pwd, 'features') @support_dir = File.join(@features_dir, 'support') @source_dir = File.join( File.dirname(__FILE__), '..', 'calabash-android-features-skeleton' ) def handle_calabash_android(config_path, properties_path) require 'kraken-mobile/constants' require 'calabash-android/helpers' kraken = KrakenApp.new( apk_path: user_entered_apk_path, properties_path: format_properties(properties_path), config_path: format_config(config_path) ) kraken.start end private def format_properties(properties_path) return if properties_path.nil? properties_absolute_path = File.expand_path(properties_path) ensure_properties_is_valid(properties_absolute_path) properties_absolute_path end def format_config(config_path) return if config_path.nil? config_absolute_path = File.expand_path(config_path) ensure_configuration_is_valid(config_absolute_path) config_absolute_path end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kraken-mobile-1.0.9 | bin/kraken_mobile_calabash_android.rb |
kraken-mobile-1.0.8 | bin/kraken_mobile_calabash_android.rb |
kraken-mobile-1.0.5 | bin/kraken_mobile_calabash_android.rb |