Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Running Sauce Tests Locally #362

Open
smythey21 opened this issue Mar 2, 2016 · 1 comment
Open

Running Sauce Tests Locally #362

smythey21 opened this issue Mar 2, 2016 · 1 comment

Comments

@smythey21
Copy link

smythey21 commented Mar 2, 2016

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
@anthonywoo
Copy link

+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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants