Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (19 sloc) 845 Bytes

Composite - A QUnit addon for running multiple test files

Composite is a QUnit addon that, when handed an array of files, will open each of those files inside of an iframe, run the tests, and display the results as a single suite of QUnit tests.

The "Rerun" link next to each suite allows you to quickly rerun that suite, outside the composite runner.

If you want to see what assertion failed in a long list of assertions, just use the regular "Hide passed tests" checkbox.


Load QUnit itself as usual plus qunit-composite.css and qunit-composite.js, then specify the test suites to load using QUnit.testSuites:

    { name: "Test File 3", path: "test-file-3.html" } // optionally provide a name and path
Jump to Line
Something went wrong with that request. Please try again.