aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2011-05-23 21:06:52 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2011-05-24 18:55:39 +0200
commit9e559fab26ce7ccd9a6d3409d4f1bedd3fb08343 (patch)
treebc24eb751825aa9cfefbfd45dec8f9d4eeec5377
parentBreakpoint after failed cucumber step (diff)
downloadcouncil-webapp-9e559fab26ce7ccd9a6d3409d4f1bedd3fb08343.tar.gz
council-webapp-9e559fab26ce7ccd9a6d3409d4f1bedd3fb08343.tar.bz2
council-webapp-9e559fab26ce7ccd9a6d3409d4f1bedd3fb08343.zip
Use fuubar
-rw-r--r--site/Gemfile1
-rw-r--r--site/Gemfile.lock5
-rw-r--r--site/config/cucumber.yml2
3 files changed, 7 insertions, 1 deletions
diff --git a/site/Gemfile b/site/Gemfile
index b1548c3..fa841ac 100644
--- a/site/Gemfile
+++ b/site/Gemfile
@@ -15,6 +15,7 @@ group :development, :test do
gem 'launchy'
gem 'show_me_the_cookies'
gem 'factory_girl'
+ gem 'fuubar-cucumber'
end
gem "hobo", ">= 1.3.0.pre28"
diff --git a/site/Gemfile.lock b/site/Gemfile.lock
index 939add4..4313a4a 100644
--- a/site/Gemfile.lock
+++ b/site/Gemfile.lock
@@ -93,6 +93,9 @@ GEM
typhoeus
ffi (1.0.7)
rake (>= 0.8.7)
+ fuubar-cucumber (0.0.9)
+ cucumber
+ ruby-progressbar (~> 0.0.9)
gherkin (2.3.5)
json (>= 1.4.6)
hashie (1.0.0)
@@ -171,6 +174,7 @@ GEM
ruby-debug-base (~> 0.10.4.0)
ruby-debug-base (0.10.4)
linecache (>= 0.3)
+ ruby-progressbar (0.0.10)
rubyzip (0.9.4)
selenium-webdriver (0.1.4)
childprocess (>= 0.1.7)
@@ -205,6 +209,7 @@ DEPENDENCIES
database_cleaner
devise
factory_girl
+ fuubar-cucumber
hobo (>= 1.3.0.pre28)
hobo_devise (>= 0.0.2)
launchy
diff --git a/site/config/cucumber.yml b/site/config/cucumber.yml
index 19b288d..82f4691 100644
--- a/site/config/cucumber.yml
+++ b/site/config/cucumber.yml
@@ -1,7 +1,7 @@
<%
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"
+std_opts = "--format Cucumber::Formatter::Fuubar --strict --tags ~@wip"
%>
default: <%= std_opts %> features
wip: --tags @wip:3 --wip features