Project

dressing

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A Capybara driver for Sauce Labs
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0

Runtime

 Project Readme

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