Sha256: 0a955a0f39569a2aaface53cdab15c8b46f5ec5441b5028bfee2a79fe2ac88ff

Contents?: true

Size: 473 Bytes

Versions: 1

Compression:

Stored size: 473 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",
      }
  IO.popen([env, "cucumber"] + ARGV) do |io|
    io.each { |s| print s }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
calabash-android-0.0.3 bin/calabash-android-run.rb