Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jdalton/qunit-extras
Extends QUnit with extra features and CLI support.
https://github.com/jdalton/qunit-extras
Last synced: 3 months ago
JSON representation
Extends QUnit with extra features and CLI support.
- Host: GitHub
- URL: https://github.com/jdalton/qunit-extras
- Owner: jdalton
- License: mit
- Created: 2011-07-25T04:43:02.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2018-07-03T20:23:42.000Z (over 6 years ago)
- Last Synced: 2024-10-19T18:41:15.192Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 181 KB
- Stars: 28
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# QUnit Extras v3.0.0
Extends QUnit with extra features and CLI support.
## Usage
```js
// Load QUnit and install extras.
var QUnit = require('qunit-extras');// Set the number of retries an async tests may attempt.
QUnit.config.asyncRetries = 10;// Excuse tests.
QUnit.config.excused = {
// Specify the module name.
'qunit module': {
// Excuse individual asserts in a test.
'a qunit test': [
// Excuse by assert message.
'assert message',
// Excuse by expected result.
'[1,2,3]',
// Excuse by error indicator.
'Died on test #1',
],
// Excuse an entire test.
'another qunit test': true
}
};
```## Support
Tested in Node.js 4-6.