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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-06-15 08:15:28 +0400
committerrandx <dmitriy.zaporozhets@gmail.com>2012-06-15 08:15:28 +0400
commit5bbf3ccf0559ac4d8528f48721a2816fa0c72985 (patch)
tree904be11f0f74f5e6c5852940c0d6ce20838df6ff /config/cucumber.yml
parent6ff99fe9457fcfe831fbe3d3a1ef477d9a327330 (diff)
Cucumber:
* Profile * Browse code * Sceleton for main features * Wiki * Commits
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 00000000000..19b288df9d5
--- /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'] || 'pretty'} --strict --tags ~@wip"
+%>
+default: <%= std_opts %> features
+wip: --tags @wip:3 --wip features
+rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip