Get a report about what is available at app.saucelabs.com.
- Run a single spec or test:
$ rake test spec/some_suite or $ rake test spec/some_suite/some_test.rb or $ rake windows_10_ff spec/some_suite
- Specific Configuration (see
/spec/platforms.yml
file) or runrake --tasks
$ rake mac_sierra_chrome
- Random platform from
platforms.yml
. Runs all tests.$ rake
-
Global Dependencies
- Install Ruby
- Install Git
- Clone This Repo
$ git clone git@github.com:mdsauce/healthcheck.git
- Install bundler
$ gem install bundler
-
Project Dependencies
- Install packages
$ bundle install
-
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>
-
Environment Variables
- Find or create a user you're willing to get locked out of Sauce Labs. If there is a mistake in one of your tests you'll end up
HEALTHCHECK_TEST_USER HEALTHCHECK_USER_PW
If you find your local branch missing the tests of the remote master branch just run something like git pull origin
to pull the latest commits to your local repo.
Read more here: https://www.atlassian.com/git/tutorials/syncing/git-pull