Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Caudill <scaudill@gmail.com>2010-09-25 21:44:20 +0400
committerStephen Caudill <scaudill@gmail.com>2010-09-26 19:35:50 +0400
commit05c2da81e5785703dfb2609c8d914726ef205857 (patch)
tree8126cde2f569d1f647bf4bf15df0afdb101bf34c /config/cucumber.yml
parentaf938fe74fa4175ba65b27c7f9dc8d9b90bad99a (diff)
Add cucumber and run the generator
Diffstat (limited to 'config/cucumber.yml')
-rw-r--r--config/cucumber.yml8
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