@yr/remote-test-connector
Remote test utils.
Last updated 4 years ago by yr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @yr/remote-test-connector 
SYNC missed versions from official npm registry.

remote-test-connector

Run Mocha/Expect unit tests remotely through SauceLabs and/or BrowserStack.

Usage

First, add the dependencies and script hooks to your package.json:

"devDependencies": {
  "@yr/remote-test-connector": "*"
  "expect.js": "~0.3",
  "mocha": "*",
  ...
},
"scripts": {
  "test-saucelabs": "./node_modules/@yr/remote-test-connector/bin/remote-test-connector saucelabs; true",
  "test-browserstack": "./node_modules/@yr/remote-test-connector/bin/remote-test-connector browserstack; true"
  ...
},

Then:

  • Place the code that you want to test in test/lib.js (or a symblink to it).
  • Place the unit tests in test/lib-test.js.

Current Tags

  • 1.0.1                                ...           latest (4 years ago)

2 Versions

  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (2)
Downloads
Today 0
This Week 2
This Month 2
Last Day 2
Last Week 0
Last Month 1
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |