Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

qunit-retry

0.0.5 • Public • Published

qunit-retry

TravisCI Build Status Latest NPM release

Drop in replacement for QUnit test to retry test upon failure.

// retry this test on failure as third party service occasionally fails
// we need to test against third party service
// we can live with occasional third party service failure
retry("a test relying on 3rd party service that occassionaly fails", function(assert) {
  var result = occasionallyFailingServiceTestResult();
  assert.equal(result, 42);
});

Use very sparingly, for a suite of 2024 tests, using this for a single acceptance test.

Install

npm

npm install --save-dev qunit-retry

or using yarn:

yarn add --dev qunit-retry

Contributing

How to Run Tests

npm test

License

qunit-retry is developed by and © mrloop and contributors. It is released under the ISC License.

Install

npm i qunit-retry

DownloadsWeekly Downloads

5

Version

0.0.5

License

ISC

Unpacked Size

8.78 kB

Total Files

6

Last publish

Collaborators

  • avatar