Delicious Sauce OnDemand reporter for Mocha
npm install mole-sauce
|2||downloads in the last month|
|Version||0.0.2 last updated a year ago|
|Dependencies||mocha, wd, saucelabs|
Mole Sauce -- Delicious Sauce Labs reporter for Mocha
Mole Sauce wraps your Mocha tests to make it easy to write WebDriver tests
in Mocha and have them run against Sauce Labs. Each suite that you tag
this.sauce = true will get its own browser session, and the test
pass/fail results will be submitted to Sauce Labs when it finishes.
Running the examples
export SAUCE_USERNAME=XXXX export SAUCE_ACCESS_KEY=XXXX git clone https://github.com/epall/mole-sauce.git cd mole-sauce npm install npm run examples
npm install https://github.com/epall/mole-sauce.git
this.sauce = true to the body of the suites you want to add mole-sauce to.
mocha -R mole-sauce
If you want to use mole-sauce in addition to a more communicative reporter, you'll need to invoke mocha programmatically. See examples/run.js.
- Eric Allen (epall)
- License - BSD
- Write some tests
- Properly tease out results from nested suites
- Support launching a session per-test instead of per-suite