This repository provides information and helpful tweaks to run your Cucumber tests on the BrowserStack selenium cloud infrastructure.
Add the Cucumber gems into your Gemfile.
Run bundle install
.
if any error occurs with respect to bundler, then run bundle update --bundler
To run the tests, execute:
cucumber features/ --tags @<tag_name> username=<username> accesskey=<access-key> remote=true -f pretty -f junit -o ./reports/report_xml -f pretty -f html -o ./reports/report_html.html
Alternatively the variables can be set in the environment using env or your CI framework (like Travis or Jenkins)
add support for rake and run test though bundle exec rake
Happy Testing!