Navigation Menu

Skip to content

testingbot/ruby-cucumber-capybara-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TestingBot - Cucumber - Capybara

TestingBot provides an online grid of browsers and mobile devices to run Automated tests on via Selenium WebDriver. This example demonstrates how to use Ruby with Cucumber and Capybara to run a test in parallel across several browsers.

Environment Setup

  1. Global Dependencies

    $ brew install ruby
    
    $ gem install rake
    
    • Install bundler (sudo may be necessary)
    $ gem install bundler
    
  2. TestingBot Credentials

    • Add your TestingBot Key and Secret as environmental variables. You can find these in the TestingBot Dashboard.
    $ export TB_KEY=<your TestingBot Key>
    $ export TB_SECRET=<your TestingBot Secret>
    
  3. Project Dependencies

    • Install packages (Use sudo if required)
    $ bundle install
    

Running Tests

  • Tests in Parallel:
     $ rake test_testingbot
    

You will see the test result in the TestingBot Dashboard

Resources

Releases

No releases published

Packages

No packages published