saucelabs-runner
run test cases in saucelabs.
Last updated 10 years ago by yiminghe .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install saucelabs-runner 
SYNC missed versions from official npm registry.

saucelabs-runner

wrap wd and sauce-tunnel to test mocha runner across browsers

guide

set username and access key from saucelabs to process.env.SAUCE_USERNAME and process.env.SAUCE_ACCESS_KEY.

example

gulpfile

https://github.com/react-component/calendar/blob/master/gulpfile.js

gulp.task('saucelabs', function (done) {
  require('saucelabs-runner')({
    browsers: [{
      browserName: 'chrome'
    }, {
      browserName: 'firefox'
    }]
  }).fin(function () {
    done();
    setTimeout(function () {
      process.exit(0);
    }, 1000);
  });
});

package.json

https://github.com/react-component/calendar/blob/master/package.json

{
  "config": {
    "port": 8001
  },
  "scripts": {
    "start": "node --harmony node_modules/.bin/rc-server",
    "saucelabs": "DEBUG=saucelabs-runner gulp saucelabs"
  }
}

run

npm start
npm run saucelabs

refer

https://saucelabs.com/platforms

https://docs.saucelabs.com/ci-integrations/travis-ci/

Current Tags

  • 2.2.4                                ...           latest (9 years ago)

23 Versions

  • 2.2.4                                ...           9 years ago
  • 2.2.3                                ...           10 years ago
  • 2.2.2                                ...           10 years ago
  • 2.2.1                                ...           10 years ago
  • 2.2.0                                ...           10 years ago
  • 2.1.0                                ...           10 years ago
  • 2.0.12                                ...           10 years ago
  • 2.0.11                                ...           10 years ago
  • 2.0.10                                ...           10 years ago
  • 2.0.9                                ...           10 years ago
  • 2.0.8                                ...           10 years ago
  • 2.0.7                                ...           10 years ago
  • 2.0.6                                ...           10 years ago
  • 2.0.5                                ...           10 years ago
  • 2.0.4                                ...           10 years ago
  • 2.0.3                                ...           10 years ago
  • 2.0.2                                ...           10 years ago
  • 2.0.1                                ...           10 years ago
  • 2.0.0                                ...           10 years ago
  • 1.0.2                                ...           10 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
  • 0.0.1                                ...           10 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE