Tools for running mocha tests on saucelabs
Tools for running mocha tests on saucelabs. You can use this programatically or as a CLI.
To wire up your test you'll need to include the
browser.js file that's in this repository. I suggest you rename it something like
mocha-sauce.js and then add a script tag:
Then modify your html file for tests so that
mocha.run() is replace with
mochaSauce(mocha).run(). That way the stream of results will be made available to this client.
Usage: mocha-sauce [options]
-h, --help output usage information
-V, --version output the version number
-B, --browser [name] The browser to test on
-I, --iteration [number] The browser version to test with
-O, --operating-system [name] The operating sytem to test with
-L, --list [by] List available versions/operating-systems/browsers rather than actually testing them