sauce-results

0.1.0 • Public • Published

sauce-results

NPM

Build Status Dependency Status

Helper to publish the results of a Sauce Labs test job. Then you can use the awesome status images.

Example status image:

Selenium Test Status

Simply call the function with the options object and a callback function.

Example

var results = require('sauce-results');
 
results({
    user: sauceUser,
    key: sauceKey,
    job: sauceJobId,
    passed: true
}, function(err) {
    // Handle err if it exists
});

Options

  • user: The Sauce Labs username for the tests
  • key: The Sauce Labs key for the provided user
  • job: The Sauce Labs job ID. If none is provided, it will retrieve the last job ID.
  • passed: Boolean indicating if the job passed or not

Credits

Thanks goes to @rvagg for doing something like this in brtapsauce. This module was split out from the larger project and rewritten based on his code.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    5
  • 0.0.1
    3
  • 0.0.0
    2

Package Sidebar

Install

npm i sauce-results

Weekly Downloads

10

Version

0.1.0

License

BSD

Last publish

Collaborators

  • conradz