Nearsighted Prank Master
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    @yr/remote-test-connectorpublic

    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.

    Keywords

    none

    install

    npm i @yr/remote-test-connector

    Downloadsweekly downloads

    0

    version

    1.0.1

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar