Sha256: c4250c7d3a006ea85e0da4f8d9109373d90ad86a8ff2e7e2480d9b1902f710a9
Contents?: true
Size: 529 Bytes
Versions: 9
Compression:
Stored size: 529 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}" puts cmd IO.popen(cmd) do |io| io.each { |s| print s } end sleep(1) end
Version data entries
9 entries across 9 versions & 1 rubygems