Using RequireJS with QUnit.
JavaScript
Latest commit 88ede3f Dec 7, 2014 @jonnyreeves Fixed typo.
Failed to load latest commit information.
src Initial Commit Aug 14, 2012
tests Fixed issue where the setup and teardown functions in QUnit were run … Jul 2, 2013
Gruntfile.js Updated to latest grunt and fixed errors because of significant chang… Jul 2, 2013
README.md
package.json Updated to latest grunt and fixed errors because of significant chang… Jul 2, 2013

README.md

qunit-require

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:

grunt 

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