Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (10 sloc) 601 Bytes
<%
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"
%>
default: -r features/step_definitions -r features/support <%= std_opts %>
pretty: -r features/step_definitions -r features/support --format pretty
wip: --tags @wip:3 --wip features
all: -r features/step_definitions -r features/support --format=pretty
progress: -r features/step_definitions -r features/support --format=progress