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 0cb14f4f65 Update the version because hey why not 2012-12-03 21:25:21 -08:00
bin Refactor/cleanup the `sauce` binary, adding some defaults into the `connect` subcommand 2012-03-15 11:30:50 -07:00
examples Move the cucumber code out into it's own gem 2012-08-14 21:28:33 -07:00
gemfiles Make `rake spec:selenium:sauce` *run* inside the rails2-demo with Appraisal, but it doesn't pass 2012-05-24 20:14:27 -07:00
gems Implement Sauce::Capybara::Driver#finish! for properly closing out Sauce jobs and clearing state 2012-11-23 11:41:45 -08:00
generators/sauce Whoops...got my logic inverted 2011-03-24 16:11:48 -07:00
lib Update the major version a little bit to encompass the new API 2012-11-23 11:44:56 -08:00
spec Implement Sauce::Capybara::Driver#finish! for properly closing out Sauce jobs and clearing state 2012-11-23 11:41:45 -08:00
support Prune the Selenium 1 server code and support for running selenium-server.jar locally 2012-03-20 02:47:00 -07:00
.document Initial commit to sauce. 2010-02-16 11:31:42 -08:00
.gitignore Ignore some Rails cruft in the examples directory 2012-05-24 20:14:27 -07:00
Gemfile Update to the latest RSpec in order to use more gadgets and gizmos 2012-11-23 11:37:50 -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 Update to the latest RSpec in order to use more gadgets and gizmos 2012-11-23 11:37:50 -08:00
sauce.gemspec Update the version because hey why not 2012-12-03 21:25:21 -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.