-
Notifications
You must be signed in to change notification settings - Fork 0
/
cucumber.yml
13 lines (12 loc) · 1.18 KB
/
cucumber.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
<% output_dir = "#{Dir.home}/cucumber-result" %>
<% Dir.mkdir output_dir unless Dir.exist? output_dir %>
<% report_dir = "#{output_dir}/cuke-report" %>
<% Dir.mkdir report_dir unless Dir.exist? report_dir %>
<% junit_dir = "#{output_dir}/junit" %>
<% Dir.mkdir junit_dir unless Dir.exist? junit_dir %>
default: FIG_NEWTON_FILE=dev/default.yml --no-source --no-color --format pretty --require features
dev: FIG_NEWTON_FILE=dev/default.yml --no-source --no-color --format pretty --require features --format junit -o <%="#{output_dir}/junit"%>
parallel: FIG_NEWTON_FILE=dev/default.yml --no-source --no-color --format html --out <%="#{report_dir}/report#{ENV['TEST_ENV_NUMBER']}.html"%> --require features
test: FIG_NEWTON_FILE=dev/default.yml -r features --tags ~@wip --color --format pretty --format html -o results.html --dotcucumber features/.cucumber
ci: FIG_NEWTON_FILE=dev/default.yml -r features DISPLAY=:99 HEADLESS=false --format progress --format html -o <%="#{report_dir}/results.html"%> --format junit -o <%="#{report_dir}/junit"%>
html_each: FIG_NEWTON_FILE=dev/default.yml --no-source --no-color --format SegmentedView::HtmlEach --out <%="#{report_dir}"%> --format junit -o <%="#{junit_dir}"%>