sauce-results
v0.1.0
Published
Set test results for a Sauce Labs job
Readme
sauce-results
Helper to publish the results of a Sauce Labs test job. Then you can use the awesome status images.
Example status image:
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 testskey: The Sauce Labs key for the provided userjob: 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



