Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

bootstraponline/sauce_connect_ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sauce rspec example

Dependency Status Build Status

Run tests locally. Sauce ENV vars must be set to empty string or not defined.

export SAUCE_USERNAME=""
export SAUCE_ACCESS_KEY=""
bundle exec rspec

Run tests on sauce in parallel:

export TEST_QUEUE_SPLIT_GROUPS=true
export TEST_QUEUE_VERBOSE=true
export SAUCE_USERNAME="..."
export SAUCE_ACCESS_KEY="..."
bundle exec rspec-queue spec/

Run tests on sauce serially (sauce env vars must be defined):

bundle exec rspec

Update stubs:

rake stubs

rspec-queue --format

export TEST_QUEUE_VERBOSE=true

# Prints JSON for all processes to stdout
rspec-queue --format json spec/

# Prints JSON for all processes to out.txt
rspec-queue --format json --out out.txt spec/

# Prints JUnit XML for all processes to stdout
rspec-queue --require rspec_junit --format JUnit spec/

# Prints JUnit XML for all processes to junit.xml
rspec-queue --require rspec_junit --format JUnit --out junit.xml spec/

About

Example of using watir-webdriver + page-object + rspec_junit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages