It would be nice to run my tests with :sauce => true local only. The swappable-sauce suggestion does enable me to run tests locally, but it still tries running my tests on SauceLabs. It would be nice to have a config setting that completely switches off all sauce functionality. Only way I've gotten this to work so far is by monkey patching the self.included method in SeleniumExampleGroup.
module Sauce
module RSpec
module SeleniumExampleGroup
def self.included(othermod)
end
end
end
end
+1 for a real solution as well. The workaround I've been using is including Sauce::RSpec::SeleniumExampleGroup in my Rspec.configure if an ENV variable exists so I can control running it from command line
It would be nice to run my tests with
:sauce => true
local only. The swappable-sauce suggestion does enable me to run tests locally, but it still tries running my tests on SauceLabs. It would be nice to have a config setting that completely switches off all sauce functionality. Only way I've gotten this to work so far is by monkey patching theself.included
method inSeleniumExampleGroup
.