sauce-lab

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

npm install sauce-lab
5 downloads in the last week
22 downloads in the last month

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
npm loves you