QUnit AMD runner
Unit tests runner based on phantomjs supporting AMD pattern. Offers a node API ready to be integrated in other scripts (grunt/gulp plugins, cli tools, etc)
Docs
Installation
npm install qunit-amd-runner --save-dev
Usage
var testRunner = ; ;
Arguments
Options
options.include
Type: Array
An array of files to be injected in all the test suites.
options.tests
Type: Array
An array of patterns to retrieve the test files. Test files are threated as require.js main files
options.require
Type: Object
RequireJS configuration Read the RequireJS documentation
Callback
Type: function
A callback function to be invoked at the end of the tests exection. The result is a falsy value if tests failed.