node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

steal-qunit

Build Status npm version

steal-qunit

This provides a bower installable QUnit that fires off all tests when the app has finished loading.

Install

From NPM:

npm install steal-qunit --save-dev

From Bower:

bower install steal-qunit --save-dev

Configuration

If you are using the npm or bower plugins no configuration is needed. Otherwise configure the paths and meta properties:

System.config({
    paths: {
        "steal-qunit/*": "path/to/steal-qunit/*.js",
        "steal-qunit": "path/to/steal-qunit/steal-qunit.js",
        "qunitjs/qunit/*": "path/to/qunit/qunit/*.js",
        "qunitjs/qunit/qunit.css": "path/to/qunit/qunit/qunit.css"
    },
    meta: {
        "qunitjs/qunit/qunit": {
            "format": "global",
            "exports": "QUnit",
            "deps": [
                "steal-qunit/add-dom"
            ]
        }
    }
});