Sha256: 84cb4b7419bcdf8072e397ef598e54f1421fb577d842b8dec095595d7c2769da

Contents?: true

Size: 542 Bytes

Versions: 26

Compression:

Stored size: 542 Bytes

Contents

def calabash_console(app_path = nil)
  test_server_path = test_server_path(app_path)

  unless ENV["TEST_SERVER_PORT"]
    ENV["TEST_SERVER_PORT"] = "34777"
  end

  ENV["IRBRC"] = File.join(File.dirname(__FILE__), '..', 'irbrc')

  unless ENV["MAIN_ACTIVITY"]
    ENV["MAIN_ACTIVITY"] = main_activity(app_path)
  end

  unless ENV["APP_PATH"]
    ENV["APP_PATH"] = app_path
  end

  unless ENV["TEST_APP_PATH"]
    ENV["TEST_APP_PATH"] = test_server_path
  end

  build_test_server_if_needed(app_path)

  system "#{RbConfig.ruby} -S irb"
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
testautoa-0.4.5 bin/calabash-android-console.rb
calabash-android-0.4.7.pre9 bin/calabash-android-console.rb
calabash-android-0.4.7.pre8 bin/calabash-android-console.rb
calabash-android-0.4.7.pre7 bin/calabash-android-console.rb
calabash-android-0.4.7.pre6 bin/calabash-android-console.rb
calabash-android-0.4.7.pre4 bin/calabash-android-console.rb
calabash-android-0.4.7.pre3 bin/calabash-android-console.rb
calabash-android-0.4.7.pre2 bin/calabash-android-console.rb
calabash-android-0.4.7.pre1 bin/calabash-android-console.rb
testautoa-0.4.4 bin/calabash-android-console.rb
calabash-android-0.4.6 bin/calabash-android-console.rb
calabash-android-0.4.5 bin/calabash-android-console.rb
calabash-android-0.4.5.pre1 bin/calabash-android-console.rb
testautoa-0.4.3 bin/calabash-android-console.rb
calabash-android-0.4.4 bin/calabash-android-console.rb
calabash-android-0.4.3 bin/calabash-android-console.rb
testautoa-0.4.2.pre1 bin/calabash-android-console.rb
calabash-android-0.4.3.pre8 bin/calabash-android-console.rb
calabash-android-0.4.3.pre7 bin/calabash-android-console.rb
calabash-android-0.4.3.pre6 bin/calabash-android-console.rb