No description, website, or topics provided.
CSS JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
tests
LICENSE
README.md
package.json
server.js

README.md

This is an example of how to write browser harness tests. It makes use the Bootstrap documentation from Bootstrap. This project is not affiliated with or endorsed by Bootstrap.

To run the tests:

git clone https://github.com/scriby/browser-harness-bootstrap-tests.git
cd browser-harness-bootstrap-tests

npm install

node server.js

# From another terminal
./node_modules/mocha/bin/mocha ./tests/tests.js -R spec -t 10000

The tests run in Chrome by default. To run in a different browser, edit the following line of tests/test.js:

testBrowser = new harness.Browser({ type: 'chrome' });

Screencasts