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 :)
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 TestRunning in your web browser.