File: cucumber.yml

package info (click to toggle)
cucumber 2.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 3,076 kB
  • sloc: ruby: 17,016; javascript: 4,641; makefile: 12; sh: 10; tcl: 3
file content (20 lines) | stat: -rw-r--r-- 1,217 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<%
cucumber_pro_opts = ENV['ENABLE_CUCUMBER_PRO'] ? "--format Cucumber::Pro --out /dev/null" : ""
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 progress features --tags ~@wip --tags ~@wip-new-core -r features --strict #{cucumber_pro_opts}"
std_opts << " --tags ~@wip-jruby" if defined?(JRUBY_VERSION)

wip_opts = "--color -r features --tags @wip,@wip-new-core"
wip_opts << ",@wip-jruby" if defined?(JRUBY_VERSION)
%>
default:     <%= std_opts %> --tags ~@jruby
jruby:       <%= std_opts %> --tags ~@wire
jruby_win:   <%= std_opts %> --tags ~@wire CUCUMBER_FORWARD_SLASH_PATHS=true
windows_mri: <%= std_opts %> --tags ~@jruby --tags ~@wire --tags ~@needs-many-fonts CUCUMBER_FORWARD_SLASH_PATHS=true
ruby_1_9:    <%= std_opts %> --tags ~@jruby
ruby_2_0:    <%= std_opts %> --tags ~@jruby
ruby_2_1:    <%= std_opts %> --tags ~@jruby
wip:         --wip <%= wip_opts %> features <%= cucumber_pro_opts %>
none:        --format pretty --format Cucumber::Pro --out /dev/null
rerun:       <%= rerun_opts %> --format rerun --out rerun.txt --strict --tag ~@wip-new-core <%= cucumber_pro_opts %>