Skip to content

jepso-ci/sauce-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sauce-lab

Build Status Dependency Status

Run a single test file on sauce labs. This just takes care of polling for the result.

Run(config)

Config should have the following properties...

Authenitcation:

  • user - the user on sauce labs
  • key - the key on sauce labs

Test:

  • browser - the exact browser & version to test on
  • url - the url of the test page
  • code - the code to execute on the page for each poll.
  • parse - a function that gets called with the result of executing code, it should return null untill the test is complete, at which point it should return the result of the test.

Logging:

  • name - the name of the test
  • tags - an array of tags for the test