diff options
author | Stephen Caudill <scaudill@gmail.com> | 2010-09-25 21:44:20 +0400 |
---|---|---|
committer | Stephen Caudill <scaudill@gmail.com> | 2010-09-26 19:35:50 +0400 |
commit | 05c2da81e5785703dfb2609c8d914726ef205857 (patch) | |
tree | 8126cde2f569d1f647bf4bf15df0afdb101bf34c /config/cucumber.yml | |
parent | af938fe74fa4175ba65b27c7f9dc8d9b90bad99a (diff) |
Add cucumber and run the generator
Diffstat (limited to 'config/cucumber.yml')
-rw-r--r-- | config/cucumber.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/cucumber.yml b/config/cucumber.yml new file mode 100644 index 000000000..621a14cea --- /dev/null +++ b/config/cucumber.yml @@ -0,0 +1,8 @@ +<% +rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : "" +rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}" +std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} --strict --tags ~@wip" +%> +default: <%= std_opts %> features +wip: --tags @wip:3 --wip features +rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip |