Sha256: eda6c0e16625271cab370803753b960c83712db87d1f3becdd46cbab126ae695

Contents?: true

Size: 506 Bytes

Versions: 2

Compression:

Stored size: 506 Bytes

Contents

def calabash_run(args)
  run_build_if_test_server_does_not_exist


  settings = JSON.parse(IO.read(".calabash_settings"))
  
  env ="PACKAGE_NAME=#{settings["package_name"]} "\
        "TEST_PACKAGE_NAME=#{settings["package_name"]}.test "\
        "APP_PATH=#{settings["app_path"]} "\
        "TEST_APP_PATH=features/support/Test.apk "\
        "TEST_SERVER_PORT=34777"
      
  STDOUT.sync = true
  cmd = "cucumber -c #{ARGV.join(" ")} #{env}"
  IO.popen(cmd) do |io|
    io.each { |s| print s }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
calabash-android-0.0.10 bin/calabash-android-run.rb
calabash-android-0.0.8 bin/calabash-android-run.rb