# sauce-lab

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

Latest version **1.0.0** (published 2013-03-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install sauce-lab
pnpm add sauce-lab
yarn add sauce-lab
bun add sauce-lab
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2013-03-04 |
| First published | 2012-12-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | ForbesLindesay |
| Maintainers | forbeslindesay |

## Links

- npm: https://www.npmjs.com/package/sauce-lab
- Repository: https://github.com/jepso-ci/sauce-lab
- npm.io page: https://npm.io/package/sauce-lab

## Dependencies (3)

- [q](https://npm.io/package/q.md) ~0.9
- [wd](https://npm.io/package/wd.md) 0.0.31
- [debug](https://npm.io/package/debug.md) ~0.7

## Recent versions

- 1.0.0 (latest) — 2013-03-04
- 0.0.3 — 2013-02-07
- 0.0.2 — 2012-12-28
- 0.0.1 — 2012-12-24
- 0.0.0 — 2012-12-20

## README

# sauce-lab
[![Build Status](https://travis-ci.org/jepso-ci/sauce-lab.png?branch=master)](https://travis-ci.org/jepso-ci/sauce-lab)
[![Dependency Status](https://gemnasium.com/jepso-ci/sauce-lab.png)](https://gemnasium.com/jepso-ci/sauce-lab)

  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

---
_Source: https://npm.io/package/sauce-lab · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
