Dressing
A lighter weight alternative to sauce.
Dressing is a Ruby gem for running Capybara scenarios with Sauce Labs.
It's an alternative to the official sauce gem, which is clunky, bloated and difficult to use.
Usage
RSpec + Capybara
require 'dressing/rspec'
RSpec.configure do |config|
config.include Capybara::DSL
config.include Dressing::RSpec
endThat's it, you're done. Each test will be run in it's own session on Sauce Labs and you'll be able to see whether the test failed or passed in the Sauce Labs UI.
Configuration
Dressing.configure do |config|
config.browser = 'Chrome'
config.os = 'Windows 7'
config.version = 27
config.tunnel_identifier = ENV['TRAVIS_JOB_NUMBER']
endContributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request