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:
parent
5efbba7730
commit
e09c68cf54
5
Rakefile
5
Rakefile
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue