Skip to content
Extensions for running QUnit tests from the command line
Find file
New pull request
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
qunit @ 60e9902



Example extensions for running QUnit tests from the command line

Examples and extensions assume use of a standalone JavaScript interpeter such as Mozilla Rhino.  QUnit.js is now downloaded as a submodule (tracking my fork).

To download and run the sample test suite using Mozilla Rhino ...

1) git clone git:// qunit-cli --recursive
2) setup rhino as described here:
3) run "js rhino/suite.js"
4) Profit!

An example of running QUnit using the Java 6 embedded JavaScript engine can be seen in rhino/ (more info at:

An example of running QUnit from a browser can be seen by opening up web/index.html in your favorite web browser.

For more information check out my posts tagged with qunit-cli:
Something went wrong with that request. Please try again.