Skip to content

browserstack/testunit-browserstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

testunit-browserstack

=======================

Selenium examples for TestUnit and BrowserStack Automate

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

###Configuration Add rake, test-unit, browserstack-local gems into your Gemfile. Run bundle install.

BrowserStack Authentication

Export the environment variables for the username and access key of your BrowserStack account. These can be found on the automate accounts page on BrowserStack

export BROWSERSTACK_USERNAME=<browserstack-username>

export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>

###Run tests

  • Single Test: rake name_of_test Example: rake windows_firefox_70 You see the other tests in the rakefile.
  • Parallel Tests: rake parallel_test
  • Local test: To run local tests, just set the browserstack.local capability to true in the test.

###Further Reading

Happy Testing!

About

Selenium examples for Test Unit and BrowserStack Automate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

Languages