This repository has been archived by the owner on Feb 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 115
Home
Dylan Lacey edited this page Jun 3, 2013
·
12 revisions
The guiding goals of developing the Sauce gem are:
- To make it trivial to run many test cases in parallel on top of Sauce
- To allow for seamless integration with Sauce, in both directions. A test case should never be "locked" to Sauce, running Selenium locally should always be feasible.
- To require as little setup or configuration as possible
The Sauce ruby gem, as of 2.1, is split into different "peripheral" gems to accommodate different styles of testing.
Currently this includes:
- sauce.gem - The core gem, includes basic dependencies such as selenium-webdriver and capybara.
- sauce-cucumber.gem (documentation) - Gem for adding Cucumber Hooks to make writing Sauce-powered scenarios easier.
- sauce-jasmine.gem (documentation) - Gem built around the Jasmine gem to support running Jasmine JavaScript tests.
Check out the (in)Complete guide to configuration (Here)[https://github.com/sauce-labs/sauce_ruby/wiki/Configuration----The-(in)Complete-Guide]. It includes full details of every configuration option and how to customise the environment before your tests run.
See the FAQ
The Cucumber and Capybara goes into detail on writing effective scenarios in Cucumber, and running those scenarios on Sauce Labs with Capybara and the Sauce gem.