Launch headless browsers on any mocha tests webpage, get results in console
JavaScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
browser.js
bundle.js
cli.js
index.js
package.json
readme.md

readme.md

mocha-browse

Launch mocha tests pages in real browsers, headless.

npm install -g mocha-browse
mocha-browse http://chaijs.com/api/test/

mocha-browse http://chaijs.com/api/test/ firefox
mocha-browse http://chaijs.com/api/test/ chrome
mocha-browse http://chaijs.com/api/test/ phantom

credits

A lot of substack/testling was used (=copy-pasted!) when building mocha-browser.