Sign in

QUnit

@qunitjs.com
32 followers 17 following 8 posts

The powerful, easy-to-use JavaScript testing framework. Docs: qunitjs.com
 Source: github.com/qunitjs/qunit #qunit #javascript #typescript #nodejs #tdd #jquery #emberjs

PostsRepliesMedia
QUnit @qunitjs.com · 20/09/2026
📝 The Road to QUnit 3: What's new since QUnit 2.0? Step API, data providers, assert.propContains(), conditional skip, global hooks, and more. #qunit qunitjs.com/blog/2026/09...
qunitjs.com
The Road to QUnit 3
What's new since QUnit 2.0? Step API, data providers, assert.propContains(), global hooks, and more.
010
QUnit @qunitjs.com · 13/09/2026
📝 New blog post! A deep dive into the accessibility and usability improvements coming in QUnit 3. #qunit #emberjs qunitjs.com/blog/2026/09...
qunitjs.com
First Look at the QUnit 3 Theme
Accessibility, a refined color palette, and various usability improvements.
010
QUnit @qunitjs.com · 12/09/2026
📝 New blog post! QUnit 3 renders the UI significantly faster, and can display early errors within the UI. qunitjs.com/blog/2026/09...
qunitjs.com
Instant render and early errors with QUnit 3
QUnit 3 renders the UI significantly faster.
010
QUnit @qunitjs.com · 11/09/2026
QUnit 2.26 is out! ✨ Add return value to assert.rejects(), for extra assertions on the rejection value. ✨ Support local scripts in CLI --reporter option. 🧩 Add "ignoreUnhandledRejections" to ease upgrade for SAP OpenUI5 apps. @ui5.bsky.social @sapcommunity.bsky.social qunitjs.com/blog/2026/05...
qunitjs.com
QUnit 2.26.0 Released: Return from assert.rejects
Introduce return values to assert.rejects() and assert.throws(), and support loading local reporter scripts.
041
Reposted by QUnit
Nicolas Gras @armgd.bsky.social · 04/05/2026
Julia Evans shows Vue component integration tests that run directly in the browser (no Node): bundle components, expose them on `window._components`, mount with a helper, and drive assertions with QUnit + `waitFor` polling + real DOM events. Also checks Chrome JS coverage on the bundle.
jvns.ca
Testing Vue components in the browser
Julia Evans (May 2, 2026) walks through running Vue component integration tests directly in the browser without using Node, showing a practical setup that exposes components on window._components and uses a mountComponent helper and QUnit to drive tests. She documents key implementation details and pain points — polling via a waitFor helper for async renders, needing to dispatch DOM events for form inputs, pragmatic use of CSS/test identifiers, and checking Chrome’s JS coverage on the bundled file — all with concrete snippets and tradeoffs. citeturn0view0
021
QUnit @qunitjs.com · 30/01/2026
Stickers packed and ready for FOSDEM! Message me to meet and take some! #fosdem #fosdem2026 #qunit #jquery
Two rolls of QUnit stickers, as well as various jQuery "Keep calm and call on()" stickers, Wikipedia stickers, and MediaWiki logo stickers.
030
QUnit @qunitjs.com · 02/01/2026
QUnit 2.25 is out! Highlights from 2.24.1 and 2.25.0: 🧩 Support display of "early" errors in the HTML Reporter. ✨ New test filter callback, for parallel test runners and other cool stuff. Thanks Sebastian Gbudje and @nullvoxpopuli.com! 🐛 Fix bugs in the TAP-reporter. qunitjs.com/blog/2025/12...
qunitjs.com
QUnit 2.25.0 Released: Add callback filter
Introduce QUnit.config.testFilter to programmatically filter tests.
031
Reposted by QUnit
NullVoxPopuli @nullvoxpopuli.com · 02/11/2025
Did you know you can using @testing-library/dom with zero configuration in ember projects?
221
Reposted by QUnit
SAP Community Technology Blog Posts @scntechblogs.marianzeis.de · 19/08/2025
👤 Post by ansgarl (by SAP): "How to use latest QUnit and sinon to test your SAPUI5 applications" 🔗 Link: community.sap.com/t5/technology-blo…
131
QUnit @qunitjs.com · 24/06/2025
@nullvoxpopuli.com @erus.dev That's essentially the idea behind QTap. github.com/qunitjs/qtap Airtap and karma-tap came close but neither support HTML, and Airtap also imposes bundling, so you end up coupled to the runner incl debugging. Watch this space. Early feedback welcome!
github.com
GitHub - qunitjs/qtap: Run JavaScript unit tests in real browsers, real fast.
Run JavaScript unit tests in real browsers, real fast. - qunitjs/qtap
032
Reposted by QUnit
NullVoxPopuli @nullvoxpopuli.com · 02/06/2025
(How I use) Qunit: - testem for cli reporter (not qunit) - (bulilt assets to load (I'd prefer vite's way) - testem for launching pre-installed browsers (doesn't force installation via npm like like puppeteer does, iirc) - qunit for test runner - qunit for test framework
101
QUnit @qunitjs.com · 20/04/2025
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
Imagine a test with global hooks, and a Parent and Child module that use hooks also. The execution order is:
1. Parent module runs the before hook.
2. Every test in the Parent module inherits context from the before hook, and repeats as follows: call global beforeEach, parent beforeEach, the actual test, parent afterEach, and lastly the global afterEach.
3. The Child module inherits context from the Parent before hook, and then runs its own before hook.
4. Every test in the Child module inherits context from this before hook, and repeats as follows: call global beforeEach, parent beforeEach, child beforeEach, the actual test, child afterEach, parent afterEach, and lastly the global afterEach.
021
Reposted by QUnit
Mauricio Lauffer @mauriciolauffer.bsky.social · 22/01/2025
WebdriverIO QUnit Service now supports all sort of QUnit usage in SAP Fiori and UI5 apps! Whatever UI5/QUnit testing method you're using, you can run it with wdio-qunit-service. All you need is a wdio.conf.js file. Have a look at an example: github.com/SAP/openui5-...
WebdriverIO QUnit Service testing results for a UI5 app.
221
Reposted by QUnit
Richard MacManus @ricmac.mastodon.social.ap.brid.gy · 23/12/2024
My final post for the year on @TheNewStack is a wrapup of the leading #webdev trends of 2024: “The year in web development was characterized by a return to simpler ways of building a website or web application. Partly this was a reaction against the increasing complexity of JavaScript […]
mastodon.social
Original post on mastodon.social
014