Skip to content

Instantly share code, notes, and snippets.

View kmayer's full-sized avatar

Ken Mayer kmayer

View GitHub Profile
@kmayer
kmayer / gist:447836
Created June 22, 2010 02:25 — forked from aeden/gist:447835
cucumber.example.yml
<%
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
rerun_opts = rerun.to_s.strip.empty? ? "--format progress features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
std_opts = "#{rerun_opts} --format rerun --out rerun.txt --strict --tags ~@wip --tags ~@pending --color --require features/"
all_opts = "--format progress --strict --tags ~@wip --tags ~@pending --color"
%>
autotest: --format pretty --tags @wip --wip --tags ~@spreedly features
autotest-all: --format progress --tags ~@pending --tags ~@spreedly features
default: <%= std_opts %>
all: <%= all_opts %>