Permalink
Browse files

Add a rake task to avoid running tests that require network

This is useful if you are, on an airplane, for example
  • Loading branch information...
1 parent 5efbba7 commit e09c68cf548df8f7b8ba7f5de5393232cffc26f1 @rtyler committed Jul 31, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 Rakefile
View
@@ -18,6 +18,11 @@ namespace :cucumber do
t.cucumber_opts = "--tags ~@wip --format pretty"
end
+ desc "Run the scenarios which don't require network access"
+ Cucumber::Rake::Task.new(:nonetwork) do |t|
+ t.cucumber_opts = "--tags ~@wip --tags ~@realupdatecenter --format pretty"
+ end
+
desc "Run the scenarios tagged with @wip"
Cucumber::Rake::Task.new(:wip) do |t|
t.cucumber_opts = "--tags @wip --format pretty"

0 comments on commit e09c68c

Please sign in to comment.