browserstack-test

Run your unit tests automatically on BrowserStack

npm install browserstack-test
3 downloads in the last week
74 downloads in the last month

BrowserStack Test

Run your Mocha or Jasmine tests automatically on BrowserStack virtual machines.

Installation

$ npm install browserstack-test -g

Usage

$ browserstack-test -u <username> -p <password> -k <api-key> -b config.json <url>

The url can be either local or remote. The configuration file should be a valid JSON file containing an array of valid BrowserStack browser specifications. Remember to hide your username, password and API key if you run browserstack-test as part of a continuous integration setup.

Mocha

To run your Mocha tests you'll need to use the Mocha BrowserStack reporter, which will report the test results back to the console. The reporter extends the HTML reporter so you can still keep testing locally.

Jasmine

To run your Jasmine tests you'll need to use the Jasmine BrowserStack reporter, which will report the test results back to the console.

License

BrowserStack Test is licensed under the three clause BSD license. Copyright 2013 Bram Stein, all rights reserved.

npm loves you