sauce-results

Set test results for a Sauce Labs job

3 个版本
安装
npm install sauce-results
yarn add sauce-results
pnpm add sauce-results
bun add sauce-results
README

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
版本列表
0.1.0 2013-12-10
0.0.1 2013-10-02
0.0.0 2013-10-02