sauce-run

0.2.0 • Public • Published

sauce-run

run your mocha tests on sauce

Build Status NPM version

Getting Started

Install the module with: npm install sauce-run --save

To run mocha tests in http://www.parro.it/requesty/dist/test.html with 3 browsers use:

var sauceRun = require('sauce-run');

sauceRun('http://www.parro.it/requesty/dist/test.html')
    .auth(process.env.REQUESTY_SAUCE_USERNAME, process.env.REQUESTY_SAUCE_ACCESS_KEY)
    .build(2)
    .browser('firefox', 'Windows 7' , '27')
    .browser('chrome', 'Windows 7' , '34')
    .browser('internet explorer', 'Windows 7' , '11')
    .run()

    .then(function(result){
        console.dir(result);
    })
    
    .catch(function(err){
        console.dir(err);
    });

Other stuff

  • documentation - maybe I will add documentation if you ask it. open an issue for this.
  • support - open an issue here.

License

MIT © 2014, Andrea Parodi

Dependents (0)

Package Sidebar

Install

npm i sauce-run

Weekly Downloads

1

Version

0.2.0

License

none

Last publish

Collaborators

  • parroit