Skip to content
Using RequireJS with QUnit.
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
tests Fixed issue where the setup and teardown functions in QUnit were run … Jul 2, 2013


An example which shows how to get QUnit and RequireJS to play nice with each other.

For more information, please refer my blog entry which describes this setup in further detail, or just dive head-first into the code comments :)

Running the Tests

Although this example project has almost zero real world value, you can execute the default grunt task to lint and execute the unit tests from the command line. From the root of the project, issue:


Alternativley, view the tests/tests.html TestRunner in your web browser.

Something went wrong with that request. Please try again.