-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcucumber.yml
24 lines (17 loc) · 854 Bytes
/
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
<%
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
rerun_opts = rerun.to_s.strip.empty? ? "--format progress features" : "--format pretty #{rerun}"
std_opts = "--format pretty features --tags ~@wip -r features --strict"
wip_opts = "--color -r features --tags @wip:3,@wip-new-core"
wip_opts << ",@wip-jruby:3" if defined?(JRUBY_VERSION)
legacy_opts = ''
legacy_opts << " --tags ~@wire" if defined?(JRUBY_VERSION)
legacy_opts << " --tags ~@wip-jruby" if defined?(JRUBY_VERSION)
%>
default: <%= std_opts %> --tags ~@jruby features
windows_mri: <%= std_opts %> --tags ~@jruby
ruby_1_9: <%= std_opts %> --tags ~@jruby
ruby_2_0: <%= std_opts %> --tags ~@jruby
wip: --wip <%= wip_opts %> features
none: --format pretty
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip --tag ~@wip-new-core