QUnit 2.25 is out!
Highlights from 2.24.1 and 2.25.0:
🧩 Add display of "early" errors in the HTML Reporter.
✨ New test filter callback, for parallel runners and other cool stuff. Thanks Sebastian Gbudje and @nullvoxpopuli
🐛 Fix bugs in TAP-reporter.
https://t.co/JvtekmVOMX
QUnit 2.24.0 is out!
Highlights since 2.21:
☑️ New test.if() to conditionally skip.
🏷️ Automatic labels in test.each().
📝 New stack trace formatter for CLI output
✨ There is a new QUnit Blog. You can also follow us on Mastodon or Bluesky.
https://t.co/d3rbbyPIeV
QUnit 2.21.1 is out!
🐛 Fix bug in stacktrace cleaner.
🐛 Fix bug where a second "Hide passed" click reversed test results.
👉 Add notice about upcoming change in how assert.expect() counts steps for assert.verifySteps().
https://t.co/d3rbbyPapn
QUnit 2.21 is out!
☑️ New assert.closeTo() method.
For float-friendly number comparisons.
👉 Deprecate unset timeout for tests longer than 3s.
How to set a timeout? https://t.co/KxgvzSNTIw
Credit to JamesMGreene for the original assert-close plugin!
https://t.co/d3rbbyPapn
QUnit 2.20.1 is out!
Highlights:
🐛 Fix compat with sinon.useFakeTimers in IE.
🐛 Fix hanging assert.async() after assert.timeout().
Welcome Timmy Willison as new QUnit contributor!
https://t.co/d3rbbyPapn
Check out QUnitX by @izelnakri:
https://t.co/InNXMRV4LB
It is is the only universal JS/TS test framework that is fast, flexible, zero dependency, and can run your test files interchangably in Node.js, browser, or Deno environments!
One thing that keeps https://t.co/bgNJ41ecQO lean is our approach to search.
Rather than the popular algolia/docsearch widget (~100KB), we use a fast 2KB alternative based on HTML5, progressive enhancement, no FOUC, and backed by self-hosted @typesense.
https://t.co/9aZNnCEW3Y
Guess who's number 1 on the test-runners Speedlify, for the third year in a row!
Credit to @zachleat for running it all these years! #perfmatters
https://t.co/rdSwwFQ0Et
https://t.co/bgNJ41ecQO
QUnit 2.19.4 is out! https://t.co/d3rbbyPIeV
Since 2.19.0:
⏱ Faster assert.deepEqual() .
⏱ Faster config.noglobals.
🐛 Fix memory release from last test.
📝 Improve API examples and fix typos.
Thanks Izel Nakri, Sergey Astapov, and others for their contributions.
QUnit 2.19 is out!
🧩 New --module CLI option. (Thanks Shachar!)
🔍 Improve accessibility and fuzziness of module filter UI.
⏱ Faster setup of the HTML toolbar. (Thanks @mixonic!)
ℹ️ Fix reported runtime to use whole milliseconds.
🐛 Fix various bugs.
https://t.co/VWhLjMPDSx
QUnit 2.18 is out!
🧩 New assert.propContains for partial object comparison. (Thanks @izelnakri!)
🪝 New global QUnit.hooks beforeEach and afterEach.
🐛 Fix bugs for TypeScript and Windows.
🗜 Shrink npm install size by 7%.
⏱ Faster CLI watch mode.
https://t.co/ytvArnXejA
QUnit 2.17 is out!
🏄♀️ New shortcut to "Rerun all failed tests".
🐛 Fix memory release for skipped module closures.
ℹ️ Improve built-in diagnostics for various failure scenarios.
Thanks to Ben Demboski, @buschtoens, Chris Krycho, and others. #qunit
https://t.co/hX9HAGnEIi
QUnit 2.16 is out!
ℹ️ Improved color contrast.
♻️ New test.each() data provider method.
⚙️ New failOnZeroTests option.
📝 Add TAP reporter to browser mode (experimental).
🐛 Bug fixes.
Thanks to Ventuno, Brenden Palmer, and others. #qunit
https://t.co/9Sl4lYHO3T
QUnit 2.15 is out!
🐛 Fix TAP output to support cyclical objects.
🐛 Fix strict mode compat.
🕵️♂️ The filter UI now trims whitespace to improve matching.
Thanks to Zachary @ztheh, Edward @eaf4, and Nathaniel (nlfurniss) for their contributions! #qunit
https://t.co/d3rbbyPapn
@javve@emberjs@embertimes@tomdale We actually have a couple of themes on the registry, but a new theme would be very welcome. We could even ship it by default in the future.
Some older examples to look at:
- https://t.co/GxmfOG9Kof
- https://t.co/pSYRRmHKco
QUnit 2.14 is out!
🏄♀️ New floating header on the test page.
ℹ️ Accessibility improvements in the HTML reporter.
🦎 Official support for @SpiderMonkeyJS runtime.
🐛 Misc bug fixes.
Thanks to Bryan Crotaz and Steve McClure for their contributions! #qunit
https://t.co/kikwuus7ad
QUnit 2.13 is out!
📦 Introduce native support for ES Modules.
ℹ️ Improve logging for leaked assertions.
🐛 Fix suiteEnd event bug involving filters.
Thanks Steve McClure, Stephen Yeung, and brandonocasey for their contributions! #qunit#esmodules
https://t.co/g7eCCqDyZo
Just released QUnit 2.12.
Notable changes:
⏩ New aliases for QUnit.test.only(), .skip(), and .todo().
➡️ Support assert.throws() with an arrow function as matcher.
Thanks to Steve McClure for contributing these!
https://t.co/F2sWtmws5j