qunit-extras
    Overview
    Documentation
    Insights
    Code
    Contributors
    Dependencies
    Alternatives

qunit-extras

Extends QUnit with extra features and CLI support.

3.0.0  •  Published 3 years ago  •  by John-David Dalton  •  MIT License

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.

How do you feel about the name Devstore for this site?

Popularity

Weekly Downloads
381
Stars
28

Maintenance

Development

Last ver 3 years ago
Created 6 years ago
Last commit 1 year ago
12 days between commits

Technology

Node version: 4.4.7
0 unpacked

Compliance

MIT License
OSI Approved
0 vulnerabilities

Contributors

6 contributors
John-David Dalton
Maintainer, 205 commits, 13 merges
Works at Salesforce
Mathias Bynens
5 commits, 5 PRs
Works at Google
Benjamin Tan
4 commits, 5 PRs
greenkeeperio-bot
4 commits, 4 PRs
Works at greenkeeperio

Dependencies

Tags

cli
qunit
Ready for the next level?
Join Devstore's founding team to help us build the ultimate open-source app store, work with the latest technologies, and enjoy great culture, impact and autonomy
© 2019 Devstore, Inc.
Devstore helps developers find and use open-source packages, so they can focus on building amazing things