Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.03 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.03 KB

Webinar repo: RSpec tests cross-browser with Sauce Labs

Follow along with the webinar video and try the examples as you watch.

For an unmodified example, please see RSpec Sauce proper

Installation

git clone http://github.com/sgrove/rspec_sauce_webinar
gem install rspec selenium-client json

Config

Add your Sauce Labs username and api-key to ondemand.yml

Optionally edit one of the browser*.yml files to specify which browsers you want to run

Run

You can execute each ruby file by:

spec source/1.rb

Note that the first selenium demos are just plain ruby files. Execute them by:

ruby source/2.rb

TODO

Instructions on running specs in parallel. It's a lot of fun to watch :)

Questions?

Shoot me an email, I'm sean at saucelabs.com

Thanks

Sauce Labs (my employer and backend provider)

License

Released under MIT license