home.social

#qunit — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #qunit, aggregated by home.social.

  1. Stickers packed and ready for FOSDEM!

    Message me to meet and take some!

    Including:
    * fresh roll of QUnit stickers
    * classic jQuery stickers
    * brand new Devo-hat stickers from jQuery's 20th birthday event
    * Wikipedia and MediaWiki logos
    * (not pictured) tons more misc webperf/JS/foss/moz stickers collected over the years.

  2. QUnit 2.25 is out!

    Highlights from 2.24.1 and 2.25.0:

    🧩 Support display of "early" errors in the HTML Reporter, to ease debugging.
    ✨ Add new test filter callback feature, to simplify building parallel test runners and other cool stuff. Thanks Sebastian Gbudje and @nullvoxpopuli!
    🐛 Fix spec compliance bugs in TAP-reporter.

    Details: qunitjs.com/blog/2025/12/30/qu
    Download: qunitjs.com/intro/#release-cha

  3. Ever wondered how beforeEach works in a unit test framework? qunitjs.com/lifecycle/ While people generally guess right, this demonstrates that the order is guaranteed, and showcases what's possible when you depend on it. Thanks to FND, Jan D, and NullVoxPopuli for their help! #qunit

  4. Ever wondered how beforeEach works in unit test frameworks? Check out our new lifecycle diagram!

    qunitjs.com/lifecycle/

    People generally guess right when it comes to ordering, so why a diagram?

    We want to show that the order is guaranteed, and showcase what's possible when you depend on it.

    Thanks to FND, Jan, and NullVoxPopuli for improving and promoting this work! H/T @FND @simulo @nullvoxpopuli

  5. I'm drafting a diagram to explain how before/after hooks work in unit tests.

    They tend to work the same way across test frameworks, so it's not unique to QUnit. But, new devs will learn this for the first time, so I think it's worth explaining.

    Page:
    qunitjs.com/api/QUnit/module/#

    Issue tracker:
    github.com/qunitjs/qunit/issue

    What do you think?

  6. QUnit 2.24.0 is out!

    Highlights from 2.23.1 and 2.24.0:

    📝 Improved CLI output with the new stack trace formatter.
    🧩 Include mjs and cjs files by default when testing a directory.
    ✨ There is a new QUnit Blog for your feed reader.

    Details: qunitjs.com/blog/2025/01/20/qu
    Download: qunitjs.com/intro/#release-cha

  7. QUnit 2.23.0 is out!

    🏷️ Add automatic labels for simple array values in `QUnit.test.each()`.

    Changelog: github.com/qunitjs/qunit/blob/
    Download: qunitjs.com/intro/#release-cha

    Learn more:
    qunitjs.com/api/QUnit/test.eac

  8. QUnit 2.22.0 is out!

    ☑️ New `test.if()` and `module.if()` functions to facilitate conditional skipping.

    Changelog: github.com/qunitjs/qunit/blob/
    Download: qunitjs.com/intro/#release-cha
    Docs: qunitjs.com/api/QUnit/test.if/

  9. Oh my,
    a web component?
    on jquery dot com?

    minibar is a 2kB standalone search widget. Accessible and progressively-enhancing (works without JavaScript!). An alternative to the popular 100kB DocSearch.js widget.

    It goes well with Typesense, an awesome FLOSS open-source alternative to Algolia. And it's (if you want, and yes we do) self-hostable!

    github.com/jquery/typesense-mi

    Demo: jquery.com/
    or qunitjs.com/

  10. 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().

    Details: github.com/qunitjs/qunit/blob/
    Download: qunitjs.com/intro/#download

  11. The journey to QUnit 3 has begun!

    Most projects require no changes to upgrade. It's the same easy-to-use API you know.

    If you use/maintain plugins, themes, or other integrations, minor changes might be needed. Take QUnit 3.0.0-alpha for a spin, and let us know about any surprises or issues!

    Changelog: github.com/qunitjs/qunit/blob/

    Much improved docs: qunitjs.com/intro/

    New theme design: github.com/qunitjs/qunit/pull/

    Matrix chat: app.element.io/#/room/#qunitjs

  12. QUnit 2.21 is out!

    ☑️ New `assert.closeTo` for float-friendly number comparisons.
    ☑️ New flat preconfig feature for improved interop between plugins.
    👉 Deprecate `QUnit.load`, with a new migration guide.
    👉 Deprecate unset timeout for tests longer than 3 seconds. Check testTimeout docs for how to set a timeout.

    Credit to James M. Greene for the original qunit-assert-close plugin!

    Details: github.com/qunitjs/qunit/blob/
    Download: qunitjs.com/intro/#release-cha

  13. @rauschma re:Jest: I was surprised that… #QUnit worked very well for my plain ES6 projects!

  14. QUnit 2.20.1

    🐛 Fix compat with sinon.useFakeTimers in IE 10 and IE 11.
    🐛 Fix hanging assert.async() after assert.timeout().

    Welcome Timmy Willison @timmywil as QUnit contributor!

    Details: github.com/qunitjs/qunit/blob/
    Download: qunitjs.com/intro/#release-cha

  15. QUnit 2.20.0

    Highlights:
    🐛 Add type check to assert.async().
    🐛 Remove units for 0 values in qunit.css.
    ⏱ Faster internal inArray operations.

    Welcome Zixin and Hareesh as QUnit contributors!

    Details: github.com/qunitjs/qunit/blob/
    Download: qunitjs.com/intro/#release-cha

  16. Check out QUnitX by @izelnakri:
    github.com/izelnakri/qunitx

    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!

  17. QUnit 2.19.4

    Highlights since 2.19.0:
    ⏱ Faster assert.deepEqual() and QUnit.equiv() by @izelnakri and @krinkle.
    ⏱ Faster diffing when using config.noglobals.
    🐛 Fix memory release from last async test.
    🐛 Fix various CLI bugs.
    📝 Improve API examples and fix typos.

    Thanks Izel Nakri, Sergey Astapov, and others for their contributions.

    Details: github.com/qunitjs/qunit/blob/
    Download: qunitjs.com/intro/#release-cha