Gem to run Rainforest Automated Tests locally or on Sauce Labs.
Add this line to your application's Gemfile:
gem 'rainforest_ruby_runtime'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rainforest_ruby_runtime
You can then run the tests using the following command:
bundle exec rainforest_test <test-file.rb>
To run the tests on Sauce Labs, set the following environment variables:
CAPYBARA_DRIVER=sauce
SAUCE_USERNAME=<your username>
SAUCE_ACCESS_KEY=<your access key>
- Fork it ( https://github.com/rainforestapp/rainforest_ruby_runtime/fork )
- 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 a new Pull Request