Add a rake task to avoid running tests that require network

This is useful if you are, on an airplane, for example
This commit is contained in:
R. Tyler Croy 2012-07-31 05:17:58 -07:00
parent 5efbba7730
commit e09c68cf54
1 changed files with 5 additions and 0 deletions

View File

@ -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"