Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 12 lines (11 sloc) 0.707 kb
4485967f »
2010-11-08 Add cucumber.yml.
1 <%
2 rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
6c7188d4 »
2011-08-21 Use fuubar formatter to get better test output.
3 rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'Cucumber::Formatter::Fuubar'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
4f1f7136 »
2011-11-24 Add cukes documenting new http request hooks.
4 std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'Cucumber::Formatter::Fuubar'} --strict"
5
6 exclusions = ["--tags ~@exclude-#{RUBY_VERSION.split('.').first(2).join}"].tap do |a|
7 a << "--tags ~@exclude-#{RUBY_ENGINE}" if defined?(RUBY_ENGINE)
8 end.join(' ')
4485967f »
2010-11-08 Add cucumber.yml.
9 %>
4f1f7136 »
2011-11-24 Add cukes documenting new http request hooks.
10 default: <%= std_opts %> --tags ~@wip <%= exclusions %> features
11 wip: --tags @wip <%= exclusions %> features
12 rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip <%= exclusions %>
4485967f »
2010-11-08 Add cucumber.yml.
13
Something went wrong with that request. Please try again.