Permalink
Browse files

Add WIP execution to CI builds.

This will notify us if a @wip feature is fixed without being unmarked.
  • Loading branch information...
1 parent 15d87c0 commit f89a9f97090452ddef832bc5df2344eb3f4fd2bf @rsutphin rsutphin committed Nov 7, 2011
Showing with 7 additions and 2 deletions.
  1. +5 −1 Rakefile
  2. +2 −1 cucumber.yml
View
@@ -77,7 +77,7 @@ end
###### CI
namespace :ci do
- task :all => ['rake:testbed', :spec, :cucumber]
+ task :all => ['rake:testbed', :spec, :cucumber, 'cucumber:wip']
task :env do
ENV['CI_REPORTS'] = 'reports/spec-xml'
@@ -88,5 +88,9 @@ namespace :ci do
t.profile = 'ci'
end
+ Cucumber::Rake::Task.new('cucumber:wip', 'Run WIP features using the CI profile') do |t|
+ t.profile = 'ci_wip'
+ end
+
task :spec => [:env, 'ci:setup:rspecbase', 'rake:spec']
end
View
@@ -6,4 +6,5 @@ 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
-ci: --tags ~@wip --tags ~@javascript --format html --out reports/cucumber.html --format junit --out reports/cucumber-xml --format progress --strict features
+ci: --tags ~@wip --tags ~@javascript --format html --out reports/cucumber.html --format junit --out reports/cucumber-xml --format pretty --strict features
+ci_wip: --wip --tags @wip --tags ~@javascript --format html --out reports/cucumber_wip.html --format pretty features

0 comments on commit f89a9f9

Please sign in to comment.