Skip to content
A Mocha reporter that can be used to run Mocha tests automatically on BrowserStack
JavaScript HTML
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib update reporter for mocha 1.17.1
test
Gruntfile.js
README.md
package.json v0.2.2

README.md

DEPRECATED

This module has been deprecated and is no longer maintained.

Automatic browser testing with Mocha and BrowserStack

This Mocha reporter allows you to run your unit tests automatically on one or multiple BrowserStack instances.

Installation

$ npm install mocha-browserstack

Usage

Include the reporter in your HTML test page. The reporter extends the default HTML reporter so your tests will continue to work as expected locally.

<script src="node_modules/mocha-browserstack/lib/mocha-browserstack.js"></script>

Configure mocha to use the BrowserStack reporter.

<script>
    mocha.setup({
        reporter: Mocha.BrowserStack
    });
</script>

License

The mocha-browserstack code is licensed under the three-clause BSD license.

Something went wrong with that request. Please try again.