Skip to content

Commit

Permalink
Add a rake task to avoid running tests that require network
Browse files Browse the repository at this point in the history
This is useful if you are, on an airplane, for example
  • Loading branch information
R. Tyler Croy committed Jul 31, 2012
1 parent 5efbba7 commit e09c68c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Rakefile
Expand Up @@ -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"
Expand Down

0 comments on commit e09c68c

Please sign in to comment.