GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Releases · qunitjs/qunit

Releases · qunitjs/qunit

3.0.0

3.0.0 Latest
Latest
@Krinkle Krinkle released this 27 Sep 21:35
3.0.0
This tag was signed with the committer’s verified signature.
Krinkle Timo Tijhof
GPG key ID: ED2F24296602F50A
Verified
Learn about vigilant mode.
196ce1d

📗 Check out the QUnit 3.0 Upgrade Guide

Added

  • Release: Add native ESM distribution, used automatically by Node.js when using the import keyword. #1551
  • Core: Add module context to before and after hooks. This enables inheritance between parent and child modules, and fixes leaks between last test and after hooks. (Ray Cohen @raycohen) #1328
  • Core: Add QUnit.config.reporters.html for disabling the HTML Reporter. #1711
  • Core: Export QUnit.urlParams unconditionally. 57c2dbcffc
  • Core: Export QUnit global unconditionally. #1771
  • HTML Reporter: Default theme design update for improved accessibilty, and lots of other fixes. (@IgnaceMaes, @Krinkle)
  • HTML Reporter: Add instant render and display for early errors.

Changed

  • Core: Enable a default test timeout of 3 seconds. #1483
  • Core: Promote warning "Cannot add hook outside the containing module" to error. (Ray Cohen @raycohen) #1576
  • Core: Promote warning "Unexpected test after runEnd" to error. #1377
  • Core: Promote warning "QUnit.module() callback must not be async" to error. (Ray Cohen @raycohen) #1600
  • Core: Promote "No tests were run." from fake test to native error. #1790
  • Assert: Change assert.expect() to exclude assert.step() from count. (Kyle Simpson @getify) #1226

Fixed

  • CLI: Fix confusing "No tests" message after an early uncaught error. #1790
  • Core: Fix internal QUnit.config.currentModule for the initial unnamed module to be a complete object. 5812597b7f
  • Core: Fix crash when "bad thenable" is returned from global module hook. 3209462b88
  • Core: Fix crash when mixing test.only() with module.only(). 99aee51a8a
  • Core: Fix QUnit.config.maxDepth to allow changes at runtime. QUnit.dump.maxDepth is now a live alias to QUnit.config.maxDepth. 0a26e2c883

Removed

  • Core: Remove support for Node.js 10-16. Node.js 18 or later is required. (@NullVoxPopuli) #1727
  • Core: Remove support for PhantomJS. (Steve McClure @smcclure15) #1505
  • Core: Remove built-in export for AMD. You can continue to load your application and your QUnit tests with AMD/RequireJS. This change only affects the loading of the qunit.js file itself. Example: Loading with RequireJS. (@NullVoxPopuli) #1729
  • Core: Remove deprecated QUnit.load(). #1084
  • Core: Remove deprecated QUnit.onError() and QUnit.onUnhandledRejection() in favor of QUnit.onUncaughtException().
  • Core: Remove undocumented details.modules[].tests from QUnit.begin() event.
  • Core: Remove undocumented QUnit.dump.HTML and QUnit.dump.multiline. 8e881f5087
  • HTML Reporter: Remove support for legacy markup. Use <div id="qunit"> instead. Check Browser Runner § Getting started.
  • Build: Discontinue publishing to the Bower registry for new releases. Review How to install or Getting Started in the browser. #1677

Contributors

  • @raycohen
  • @getify
  • @Krinkle
  • @NullVoxPopuli
  • @IgnaceMaes
  • @smcclure15
raycohen, getify, and 4 other contributors
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

docxml reacted with thumbs up emoji ro0gr, ijlee2, IgnaceMaes, and matko7274 reacted with rocket emoji
All reactions
  • 👍 1 reaction
  • 🚀 4 reactions
5 people reacted

2.26.0

2.26.0
@Krinkle Krinkle released this 01 Jun 04:39
2.26.0
This tag was signed with the committer’s verified signature.
Krinkle Timo Tijhof
GPG key ID: ED2F24296602F50A
Verified
Learn about vigilant mode.
75b55a0

Added

  • Assert: Return error value from assert.rejects() and assert.throws(). (Bartosz Dziewoński @MatmaRex) #1824
  • CLI: Add support for --reporter with local script. (@jakerella) #1823
  • Core: Introduce QUnit.config.ignoreUnhandledRejections. #1829

Contributors

  • @MatmaRex
  • @jakerella
MatmaRex and jakerella
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

docxml reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
1 person reacted

3.0.0-rc1

3.0.0-rc1 Pre-release
Pre-release
@Krinkle Krinkle released this 11 Jan 09:55
3.0.0-rc1
This tag was signed with the committer’s verified signature.
Krinkle Timo Tijhof
GPG key ID: ED2F24296602F50A
Verified
Learn about vigilant mode.
ff83fcb

Added

  • Release: Add native ESM distribution, used automatically by Node.js when using the import keyword. #1551
  • Core: Add module context to before and after hooks. This enables inheritance between parent and child modules, and fixes leaks between last test and after hooks. (Ray Cohen @raycohen) #1328
  • Core: Add QUnit.config.reporters.html for disabling the HTML Reporter. #1711
  • Core: Export QUnit.urlParams unconditionally. 57c2dbcffc
  • Core: Export QUnit global unconditionally. #1771

Changed

  • Core: Enable a default test timeout of 3 seconds. #1483
  • Core: Promote warning "Cannot add … hook outside the containing module" to error. (Ray Cohen @raycohen) #1576
  • Core: Promote warning "QUnit.module() callback must not be async" to error. (Ray Cohen @raycohen) #1600
  • Core: Promote warning "Unexpected test after runEnd" to error. #1377
  • Core: Promote "No tests were run." from fake test to native error. #1790
  • Assert: Change assert.expect() to exclude assert.step() calls from count. (Kyle Simpson @getify) #1226
  • HTML Reporter: New design with fresh color palette and improved color contrast. View demos in #1774.
    • Faster UI rendering, now instantly instead of after DOM-ready. #1793
    • Faster headless execution, when id=qunit element does not exist. #1711
    • Add support for displaying early errors. #1786
    • Change assertion count in toolbar to test count. #1760
    • Change #qunit-banner from H2 to DIV, to fix WCAG compliance. #1427
    • Change #qunit-testresult from P to DIV, to fix HTML serialization. #1301
    • Change runtime in toolbar from milliseconds to seconds. #1760
    • Fix color constrast of details in failed test results. #1803
    • Fix text selection to exclude "Rerun" link. 6becc199e0
    • Fix overflow and scrollbar issues. #1603
    • Fix adding running class to test items. 1551120536

Fixed

  • CLI: Fix confusing "No tests" message after an early uncaught error. #1790
  • Core: Fix internal QUnit.config.currentModule for the initial unnamed module to be a complete object. 5812597b7f
  • Core: Fix crash when "bad thenable" is returned from global module hook. 3209462b88
  • Core: Fix crash when mixing test.only() with module.only(). 99aee51a8a
  • Core: Fix QUnit.config.maxDepth to allow changes at runtime. QUnit.dump.maxDepth is now a live alias to QUnit.config.maxDepth. 0a26e2c883

Removed

  • Core: Remove support for Node.js 10-16. Node.js 18 or later is required. (@NullVoxPopuli) #1727
  • Core: Remove support for PhantomJS. (Steve McClure @smcclure15) #1505
  • Core: Remove built-in export for AMD. You can continue to load your application and your QUnit tests with AMD/RequireJS. This change only affects the loading of the qunit.js file itself. Example: Loading with RequireJS. (@NullVoxPopuli) #1729
  • Core: Remove deprecated QUnit.load(). #1084
  • Core: Remove deprecated QUnit.onError() and QUnit.onUnhandledRejection() in favor of QUnit.onUncaughtException().
  • HTML Reporter: Remove support for legacy markup. Use <div id="qunit"> instead. Check Browser Runner § Getting started.

Contributors

  • @raycohen
  • @getify
  • @NullVoxPopuli
  • @smcclure15
raycohen, getify, and 2 other contributors
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

docxml and ro0gr reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
2 people reacted

2.25.0

2.25.0
@Krinkle Krinkle released this 01 Jan 10:59
2.25.0
This tag was signed with the committer’s verified signature.
Krinkle Timo Tijhof
GPG key ID: ED2F24296602F50A
Verified
Learn about vigilant mode.
cd70382

Added

  • Core: Add QUnit.config.testFilter to programmatically filter tests. (@NullVoxPopuli, @gbudjeakp) #1814

Contributors

  • @NullVoxPopuli
  • @gbudjeakp
NullVoxPopuli and gbudjeakp
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

docxml and sharan-space1 reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
2 people reacted

2.24.3

2.24.3
@Krinkle Krinkle released this 30 Nov 04:51
2.24.3
This tag was signed with the committer’s verified signature.
Krinkle Timo Tijhof
GPG key ID: ED2F24296602F50A
Verified
Learn about vigilant mode.
98ea2d7

Fixed

  • CLI: Fix TAP compliance for test plan when using QUnit.test.only(). 4b87bc6aa5
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

docxml reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
1 person reacted

2.24.2

2.24.2
@Krinkle Krinkle released this 10 Oct 07:12
2.24.2
This tag was signed with the committer’s verified signature.
Krinkle Timo Tijhof
GPG key ID: ED2F24296602F50A
Verified
Learn about vigilant mode.
2753920

Fixed

  • CLI: Fix TAP compliance for colon in unquoted YAML diag. dbc02fb9fe
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

docxml reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
1 person reacted

2.24.1

2.24.1
@Krinkle Krinkle released this 26 Jan 00:56
2.24.1
This tag was signed with the committer’s verified signature.
Krinkle Timo Tijhof
GPG key ID: ED2F24296602F50A
Verified
Learn about vigilant mode.
00aa314

✨ Check out the new QUnit Blog on qunitjs.com. We're also on Mastodon and Bluesky.

Fixed

  • CLI: Fix TAP compliance for actual/expected indent and skip/todo colors. b4d48fc710
  • CLI: Fix TAP compliance for early errors (e.g. syntax error in test file). 01f7780bd8
  • Core: Add memory to late error event listeners, to improve reporting of early errors. 7c2f871ac3
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

docxml reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
1 person reacted

2.24.0

2.24.0
@Krinkle Krinkle released this 21 Jan 04:58
2.24.0
This tag was signed with the committer’s verified signature.
Krinkle Timo Tijhof
GPG key ID: ED2F24296602F50A
Verified
Learn about vigilant mode.
ca5e5ac

FYI:

  • ✨ There is a new QUnit Blog on qunitjs.com. We're also on Mastodon and Bluesky.
  • 📗 There are new Guides, Support, and Chat sections on qunitjs.com.
    Including best practices and examples for async tests, callbacks, and event-based code.

Added

  • CLI: Add .mjs and .cjs to the default file extensions when reading a test directory.

    These have been monitored by watch mode since QUnit 2.18, but were not loaded or executed
    unless you passed them as individual files, or used your own glob like test/*.{js,mjs,cjs}.

    If you currently pass a directory to the QUnit CLI and have matching .mjs or .cjs
    files that should not be executed, you can opt-out by passing test/*.js or
    test/**/*.js explicitly instead of test/.

  • CLI: Add stacktrace cleaning by omitting or greying out internal QUnit and Node.js frames in TAP reporter. #1795. #1789

    Learn more about Cleaner stack traces on the QUnit Blog.

  • Core: Add QUnit.config.reporters.tap for enabling TAP via preconfig. #1711

  • Core: Add memory to the runEnd event to allow late listeners. This helps browser integrations that only relay a summary. 27a33d1593

Fixed

  • HTML Reporter: Fix unexpected pointer cursor on "Source:" label. f8cce2bb06
  • HTML Reporter: Faster "Hide passed" toggling on large test suites. b13ade0fd7
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

docxml reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
1 person reacted

2.23.1

2.23.1
@Krinkle Krinkle released this 07 Dec 16:05
2.23.1
This tag was signed with the committer’s verified signature.
Krinkle Timo Tijhof
GPG key ID: ED2F24296602F50A
Verified
Learn about vigilant mode.
6abf4de

Fixed

  • CLI: Fix support for strict TAP parsers by limiting colors to test names. #1801
  • CLI: Fix confusing --seed option eating the file argument. #1691
  • CLI: Remove confusing expected: undefined under error messages in TAP reporter. #1794
  • HTML Reporter: Fix broken "Rerun without max depth" link. da0c59e101 (see also 91db92dbc5, 73c03cf277)
  • HTML Reporter: Fix <label> to wrap <select> for multi-value urlConfig item. #1773
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

hashar reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
1 person reacted

2.23.0

2.23.0
@Krinkle Krinkle released this 03 Dec 17:58
2.23.0
This tag was signed with the committer’s verified signature.
Krinkle Timo Tijhof
GPG key ID: ED2F24296602F50A
Verified
Learn about vigilant mode.
77a3a2a

Added

  • Core: Add automatic labels in QUnit.test.each() to simple array values. (@vtintillier, @Krinkle) #1733

Contributors

  • @Krinkle
  • @vtintillier
Krinkle and vtintillier
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.