Sauce OnDemand is a Selenium testing cloud service, developed by Sauce Labs Inc (saucelabs.com). This is the Ruby client adapter for Sauce OnDemand.
Go to file
R. Tyler Croy 3e72def10a Refactor the sauce-connect code out into a separate sauce-connect.gem
This bumps the minor version across all gems to 2.3, due to the change in the
dependency structure. Chances are this isn't going to affect many folks, or at
least not enough to where I feel comfortable with a jump to 3.x

Fixes #102
2013-01-08 22:56:39 -08:00
bin Refactor the sauce-connect code out into a separate sauce-connect.gem 2013-01-08 22:56:39 -08:00
examples
gemfiles
gems Refactor the sauce-connect code out into a separate sauce-connect.gem 2013-01-08 22:56:39 -08:00
generators/sauce
lib Refactor the sauce-connect code out into a separate sauce-connect.gem 2013-01-08 22:56:39 -08:00
spec Refactor the sauce-connect code out into a separate sauce-connect.gem 2013-01-08 22:56:39 -08:00
support
.document
.gitignore
Gemfile Only pull in the debugger gem on MRI 1.9.x 2012-12-03 22:21:49 -08:00
LICENSE Updating copyright dates 2012-09-11 16:48:19 -07:00
README.markdown Update the README to direct people to the wiki and clarify contributor guidelines 2012-08-14 22:06:39 -07:00
Rakefile Refactor the sauce-connect code out into a separate sauce-connect.gem 2013-01-08 22:56:39 -08:00
sauce.gemspec Refactor the sauce-connect code out into a separate sauce-connect.gem 2013-01-08 22:56:39 -08:00

README.markdown

Sauce for Ruby

Build Status

Sauce is a Selenium-based browser testing service offered by Sauce Labs.

There is more information on the wiki, so be sure to look there for information too!

Installation

    % gem install sauce

Suggested Toolchain

The Sauce gem has been optimized to work most effectively with Cucumber and Capybara.

To get started with Sauce and Cucumber, install the appropriate gem:

    % gem install sauce-cucumber

And then read more how to get started with Cucumber and Capybara on this wiki page.

Contributing to the Gem

  • Fork the GitHub project
  • Create a branch to perform your work in, this will help make your pull request more clear.
  • Write some RSpec tests to demonstrate your desired capability or exhibit the bug you're fixing.
  • Make your feature addition or bug fix.
  • Commit
  • Send a pull request! :)

Testing the Gem

Running the full test suite will require RVM

  • Set SAUCE_USERNAME and SAUCE_ACCESS_KEY in your environment to valid Sauce credentials or create an ondemand.yml in the following format:

      access_key: <yourkeyhere>
      username: <yourusernamehere>
    
  • Invoke bundle install to install the gems necessary to work with the Sauce gem

  • Running rake spec:unit will run the RSpec unit tests

  • If you'd like to run the entire test suit, rake test will run all the integration tests, but requires the Sauce credentials to be set up properly as these tests will run actual jobs on Sauce.