Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 8 lines (8 sloc) 0.467 kb
b4732431 » croaky
2012-03-04 [#1] Import codebase from thoughtbot
1 <%
2 rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
3 rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
4 std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} --strict --tags ~@wip"
5 %>
6 default: <%= std_opts %> features -r features
7 wip: --tags @wip:3 --wip features
8 rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
Something went wrong with that request. Please try again.