cucumber.yml in gametel-0.1 vs cucumber.yml in gametel-0.2
- old
+ new
@@ -1,6 +1,14 @@
<%
-std_opts = "PACKAGE_NAME=com.example.android.apis TEST_PACKAGE_NAME=com.example.android.apis.test APP_PATH=/Users/cheezy/dev/gametel/ApiDemos/bin/ApiDemos.apk TEST_APP_PATH=features/support/Test.apk TEST_SERVER_PORT=34777 --no-source --color --format pretty"
+begin
+ puts 'Building the calabash test server...'
+ last_test_apk = 'test_servers/' << Dir.entries("test_servers").last
+rescue
+ `calabash-android build ApiDemos/bin/ApiDemos.apk`
+ retry
+end
+
+std_opts = "PACKAGE_NAME=com.example.android.apis TEST_PACKAGE_NAME=com.example.android.apis.test APP_PATH=./ApiDemos/bin/ApiDemos.apk TEST_APP_PATH=#{last_test_apk} TEST_SERVER_PORT=34777 --no-source --color --format pretty"
%>
-default: <%= std_opts %>
+default: <%= std_opts %> --tags ~@ignore
focus: <%= std_opts %> --tags @focus