https://github.com/stealjs/steal-qunit
A npm qunit project that starts tests after 'main' has loaded.
https://github.com/stealjs/steal-qunit
Last synced: 6 months ago
JSON representation
A npm qunit project that starts tests after 'main' has loaded.
- Host: GitHub
- URL: https://github.com/stealjs/steal-qunit
- Owner: stealjs
- Created: 2014-12-29T02:20:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-11-19T16:27:11.000Z (over 5 years ago)
- Last Synced: 2024-10-31T18:58:18.466Z (7 months ago)
- Language: JavaScript
- Homepage: https://stealjs.com/docs/steal-qunit.html
- Size: 54.7 KB
- Stars: 8
- Watchers: 15
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/stealjs/steal-qunit)
[](http://badge.fury.io/js/steal-qunit)# steal-qunit
This provides an npm installable QUnit that fires off all tests
when the app has finished loading.## Install
From NPM:
```shell
npm install steal-qunit --save-dev
```## Configuration
If you are using the [npm](http://stealjs.com/docs/npm.html) no configuration is needed. Otherwise configure the `paths` and `meta` properties:
```js
System.config({
paths: {
"steal-qunit/*": "path/to/steal-qunit/*.js",
"steal-qunit": "path/to/steal-qunit/steal-qunit.js",
"qunit/qunit/*": "path/to/qunit/qunit/*.js",
"qunit/qunit/qunit.css": "path/to/qunit/qunit/qunit.css"
},
meta: {
"qunit/qunit/qunit": {
"format": "global",
"exports": "QUnit",
"deps": [
"steal-qunit/add-dom"
]
}
}
});
```