qunit-extras

3.0.0last stable release 8 years ago
Complexity Score
Low
Open Issues
0
Dependent Projects
78
Weekly Downloadsglobal
500

Keywords

License

  • MIT
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Nopatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

Readme

QUnit Extras v3.0.0

Extends QUnit with extra features and CLI support.

Usage

// 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.

Dependencies

No runtime dependency information found for this package.

CVE IssuesActive
0
Scorecards Score
1.70
Test Coverage
No Data
Follows Semver
Yes
Github Stars
28
Dependenciestotal
1
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No

Learn how to distribute qunit-extras in your own private NPM registry

npm config set registry  https://npm.cloudsmith.com/owner/repo
Processing...
Done
npm install qunit-extras
Processing...
Done

15 Releases

NPM on Cloudsmith

Getting started with NPM on Cloudsmith is fast and easy.