-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcucumber.yml
31 lines (24 loc) · 1.07 KB
/
cucumber.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<% def timestamps
date = Time.now.strftime('%Y%m%d').to_s
time = Time.now.strftime('%H-%M-%S').to_s
"#{date}_#{time}"
end %>
<% RUN_TSTAMPs = timestamps.freeze %>
# Template
default: -p html_report -p json_report -p chrome -p web -p prd -p not_parallel_running
parallel: -p html_parallel -p json_parallel -p chrome -p web -p prd -p parallel_running --format ParallelTests::Cucumber::FailuresLogger --out cucumber_failures.log
# Reports
html_report: --format pretty --format html --out=reports/features_report_<%= RUN_TSTAMPs %>.html
html_parallel: --format pretty --format html --out=reports/features_report_<%= ENV['TEST_ENV_NUMBER'] %>_<%= RUN_TSTAMPs %>.html
json_report: --format pretty --format json --out=reports/features_report_<%= RUN_TSTAMPs %>.json
json_parallel: --format pretty --format json --out=reports/features_report_<%= ENV['TEST_ENV_NUMBER'] %>_<%= RUN_TSTAMPs %>.json
# Browsers
chrome: BROWSER=chrome
# Application
web: APP=web
# Targets
hml: TARGET=hml
prd: TARGET=prd
# Parallel
parallel_running: PARALLELRUNNING=true
not_parallel_running: PARALLELRUNNING=false