Sha256: 99f518169c9188e612ae4b480d121c817463429dc68d4edfb771bf0c69286e5a

Contents?: true

Size: 1.44 KB

Versions: 7

Compression:

Stored size: 1.44 KB

Contents

<%
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"
std_opts << " --tags ~@wip-jruby" if defined?(JRUBY_VERSION)
begin
  require 'rspec/expectations'
  std_opts << ' --tags ~@rspec1'
rescue LoadError
  # rspec 1
  std_opts << ' --tags ~@rspec2'
end
wip_opts = "--color --tags @wip:3"
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 --dotcucumber features/.cucumber
jruby: <%= std_opts %> --tags ~@spork --tags ~@wire
jruby_win: <%= std_opts %> --tags ~@spork --tags ~@wire CUCUMBER_FORWARD_SLASH_PATHS=true
windows_mri: <%= std_opts %> --tags ~@jruby --tags ~@spork --tags ~@wire --tags ~@needs-many-fonts CUCUMBER_FORWARD_SLASH_PATHS=true
ruby_1_8_7: <%= std_opts %> --tags ~@jruby --tags ~@fails_on_1_8_7
ruby_1_9: <%= std_opts %> --tags ~@jruby --tags ~@fails_on_1_9
ruby_2_0: <%= std_opts %> --tags ~@jruby --tags ~@fails_on_1_9
ruby_2_1: <%= std_opts %> --tags ~@jruby --tags ~@fails_on_1_9
wip: --wip <%= wip_opts %> features
none: --format pretty
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
legacy: legacy_features -r legacy_features -f progress --tags ~@spork <%= legacy_opts %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cucumber-1.3.17 cucumber.yml
cucumber-1.3.16 cucumber.yml
cucumber-1.3.15 cucumber.yml
cucumber-1.3.14 cucumber.yml
cucumber-1.3.13 cucumber.yml
cucumber-1.3.12 cucumber.yml
cucumber-1.3.11 cucumber.yml