Run your unit tests automatically on BrowserStack
Run your Mocha or Jasmine tests automatically on BrowserStack virtual machines.
$ npm install browserstack-test -g
$ browserstack-test -u <username> -p <password> -k <api-key> -b config.json <url>
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.
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.
To run your Jasmine tests you'll need to use the Jasmine BrowserStack reporter, which will report the test results back to the console.
BrowserStack Test is licensed under the three clause BSD license. Copyright 2013 Bram Stein, all rights reserved.