Skip to content

shreya-bstack/cucumber-ruby-browserstack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cucumber-browserstack

BrowserStack Logo

Code samples to get started with Cucumber tests on BrowserStack Automate using the BrowserStack Ruby SDK.

Setup

Requirements

  1. Ruby: If you don't have Ruby installed, follow the instructions given here
  2. Bundler: If you don't have Bundler installed, follow the instructions given here

Install the dependencies

bundle install

Configuration

1. Set up browserstack.yml

All BrowserStack configuration is managed through a single browserstack.yml file at the root of the repository.

Set parallels.

browserStackLocal: false # set to true for local testing.


## Running your tests

All tests are run from the repo root. The same command is used for all run types — behaviour is controlled entirely by `browserstack.yml`:

```sh
bundle exec browserstack-sdk exec cucumber features/sample.feature

Tip: Instead of hardcoding credentials, set BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY as environment variables.

2.

About

Selenium examples for Cucumber-Ruby and BrowserStack Automate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Ruby 88.4%
  • Gherkin 11.6%