Skip to content

Releases: qunitjs/qunit

2.9.3

08 Oct 15:56
Compare
Choose a tag to compare

Added

  • HTML Reporter: Display progress and runtime while test suite is executing. (Stefan Penner) #1398

Fixed

  • CLI: Ignore folders mentioned in the gitignore to improve performance. (SparshithNRai)
  • Core: Defer getting the stack trace to improve performance. (Adam Byrne)
  • Core: Let assert.timeout() replace the timeout if config.timeout was already set.

2.9.2

21 Feb 22:55
Compare
Choose a tag to compare

Fixed

  • Core: Ensure semaphores are balanced when timeout occurs. #1376
  • HTML Reporter: Avoid inline styles to support CSP without unsafe-inline.

2.9.1

07 Jan 16:47
Compare
Choose a tag to compare

Fixed

  • Release: Restore missing files that were accidentally missing in the 2.9.0 npm package. #1368

2.9.0

06 Jan 22:57
Compare
Choose a tag to compare

Fixed

  • Assert: Report errors from assert.throws() as strings. #1333
  • CLI: Reduce size of the npm package dependency tree. (Timo Tijhof) #1342
  • HTML Reporter: Fix an unescaped details.source. (Shlomi Fish) #1341

2.8.0

02 Nov 16:21
Compare
Choose a tag to compare

Added

  • Core: Add support for async functions and Promise-returns to QUnit event handlers. These can now be used via QUnit.begin, QUnit.moduleStart, QUnit.testStart, QUnit.testDone, QUnit.moduleDone, and QUnit.done. (Stephen Yeung) #1307
  • Core: Add stack trace to uncaught error if the browser supports it. (Anand Thakker)

Changed

  • HTML Reporter: Add a running class to list items, for use by plugins. This was previously removed in 2.7.0. #1323

2.7.1

17 Oct 17:02
Compare
Choose a tag to compare

Fixed

  • Core: Avoid breaking tests if the browser throws an error from performance.measure. (Gabriel Csapo)

2.7.0

10 Oct 15:48
Compare
Choose a tag to compare

Added

  • HTML Reporter: Add "User Timings" for each test to the browser's Performance Timeline. (Tobias Bieniek) #1296

Fixed

  • CLI: Remove need for fsevents extension by upgrading the sane package. (Stefan Penner) #1314
  • HTML Reporter: Fix XHTML output issue. (Shlomi Fish) #1317

2.6.2

19 Aug 20:02
Compare
Choose a tag to compare
  • Build: Bump packages identified by npm audit
  • Build: Remove Browserstack
  • Build: Upgrade grunt-coveralls to 2.0.0 (#1305)
  • CLI: [fixes #121] chokidar -> sane (#1283)
  • Tests: fix HTTP 404 error for the Qunit CSS in one of the test files (#1297)
  • pushResult() doesn't ever return a value: it's always undefined/void.
  • Update fsevents subdependency for Node 10 compat
  • Core: Extract QUnit.module to its own file
  • Docs: Fix Jekyll build (remove conflicting file/dir names)
  • Docs: Set up redirects for old urls
  • Docs: Fix broken QUnit.stop link from assert/async and add redirect (#1291)
  • Build: Stop testing on Node 4 & 9
  • Docs: Remove unused config and group settings

2.6.1

16 May 02:46
Compare
Choose a tag to compare
  • Test: Prevent global.QUnit leakage between node and browser tests.
  • Core: Ensure test callbacks and module hooks are released.
  • Test: Failing test with memory leak via retained hooks/callbacks.
  • Test: Add Node 10 testing to CI.
  • HTML Reporter: Disable autocomplete on module search input (#1277)
  • All: Enable ESLint recommended rules

2.6.0

27 Mar 02:26
Compare
Choose a tag to compare
  • Core: Ensure late-add high-priority tests are inserted in proper order
  • CLI: Implement --require option
  • Test: Refactor startError test to not reload QUnit
  • Core: Throw error if no tests are run
  • Assert: Support rejecting falsy values against no matcher in rejects
  • Assert: Clone actual steps array to avoid passing internal reference
  • Test: Add failing test for verifySteps passing reference to log
  • Docs: Note that non-string values fail assert.step()
  • Assert: Fail test when passing a non string value to assert.step
  • Core: Extract currently running test out of config.queue into internal testQueue (#1260)