Skip to content

browserstack/cucumber-ruby-browserstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cucumber-browserstack

This repository provides information and helpful tweaks to run your Cucumber tests on the BrowserStack selenium cloud infrastructure.

Setup

  • Clone the repo
  • Install dependencies bundle install
  • To test various sample repositories with ease, it is recommended to setup BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY environment variables. Alternatively you can directly update *.config.yml files inside the config/ directory with your BrowserStack Username and Access Key

Running your tests

  • To run tests, run bundle exec rake parallel
  • To run local tests, run bundle exec rake local

Understand how many parallel sessions you need by using our Parallel Test Calculator

Alternatively the variables can be set in the environment using env or your CI framework (like Travis or Jenkins)

Notice that selenium driver.quit is not required for Capybara tests because Capybara implicitly does so.

###Further Reading

Happy Testing!

About

Selenium examples for Cucumber-Ruby and BrowserStack Automate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published