-
Global Dependencies
- Install Ruby
- Install Git
- Clone This Repo
$ git clone ruby-rspec-capybara https://github.com/saucelabs-sample-test-frameworks/Ruby-RSpec-Capybara.git- Install bundler
$ gem install bundler -
Sauce Credentials
- In the terminal export your Sauce Labs Credentials as environmental variables:
$ export SAUCE_USERNAME=<your Sauce Labs username> $ export SAUCE_ACCESS_KEY=<your Sauce Labs access key> -
Project Dependencies
- Install packages
$ bundle install
- Run tests in parallel on default configuration:
$ bundle exec rake - Run in parallel on a specified configuration (see
/spec/Rakefilefor the available tasks)$ bundle exec rake windows_10_edge - Demo Mode
$ bundle exec rake sauce_demo