run your mocha tests on sauce
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);
});
- documentation - maybe I will add documentation if you ask it. open an issue for this.
- support - open an issue here.
MIT © 2014, Andrea Parodi