Sha256: 41edaafebd70942a5c32c96d77a0b16f3c6e4ed9128732e53c7f9e528d375c5b

Contents?: true

Size: 1.2 KB

Versions: 3

Compression:

Stored size: 1.2 KB

Contents

<%
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 -r features --strict #{cucumber_pro_opts}"
std_opts << " --tags ~@wip-jruby" if defined?(JRUBY_VERSION)

wip_opts = "--color -r features"
wip_opts << " --tags @wip" if !defined?(JRUBY_VERSION)
wip_opts << " --tags @wip,@wip-jruby" if defined?(JRUBY_VERSION)
%>
default:     <%= std_opts %> --tags "not @jruby"
jruby:       <%= std_opts %> --tags "not @wire"
jruby_win:   <%= std_opts %> --tags "not @wire" CUCUMBER_FORWARD_SLASH_PATHS=true
windows_mri: <%= std_opts %> --tags "not @jruby" --tags "not @wire" --tags "not @needs-many-fonts" --tags "not @todo-windows" CUCUMBER_FORWARD_SLASH_PATHS=true
ruby:        <%= std_opts %> --tags "not @todo-windows" --tags "not @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 --tags "not @wip-new-core" <%= cucumber_pro_opts %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cucumber-3.0.1 cucumber.yml
cucumber-3.0.0 cucumber.yml
cucumber-3.0.0.pre.2 cucumber.yml