Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

ejholmes/dressing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
end

That'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']
end

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

A Capybara driver for Sauce Labs.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages