cucumber.yml.example in briar-0.0.8 vs cucumber.yml.example in briar-0.0.9
- old
+ new
@@ -1,4 +1,21 @@
-default: NO_LAUNCH=1 OS=ios5 SCREENSHOT_PATH=./cucumber-screenshots/ -f 'Slowhandcuke::Formatter' -f rerun -o rerun.txt
-slowhand: NO_LAUNCH=1 OS=ios5 SCREENSHOT_PATH=./cucumber-screenshots/ -f 'Slowhandcuke::Formatter' -f rerun -o rerun.txt
-wip: NO_LAUNCH=1 OS=ios5 SCREENSHOT_PATH=./cucumber-screenshots/ -f 'Slowhandcuke::Formatter' -f rerun -o rerun.txt --tags @wip:3 --wip --require features
+<%
+
+date = Time.now.strftime('%Y-%m-%d-%H%M-%S')
+default_report = "./reports/calabash-#{date}.html"
+
+ss_path = "#{Dir.pwd}/screenshots/"
+
+`mkdir ./screenshots` unless File.exists?("./screenshots")
+`mkdir ./reports` unless File.exists?("./reports")
+
+%>
+
+ss_path: SCREENSHOT_PATH=<%= ss_path %>
+html_report: -f html -o <%= default_report %>
+
+uai: DEVICE_TARGET=simulator
+
+default: -p ss_path -p html_report -p uai
+
+