fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

11K
active users

#qunit

0 posts0 participants0 posts today
Timo Tijhof<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@rauschma" class="u-url mention">@<span>rauschma</span></a></span> </p><p>I realise this is about to get meta, but I wonder if we could use this in <a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="tag">#<span>qunit</span></a> to automatically check the examples for how the test/assertion framework itself works.</p><p>Can multi-line &quot;expected&quot; stdout be set within a comment block? Or does it have to be either an inline attribute or outputted block?</p><p><a href="https://qunitjs.com/api/assert/propEqual/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/api/assert/propEqu</span><span class="invisible">al/</span></a></p><p><a href="https://github.com/qunitjs/qunit/blob/main/docs/api/assert/propEqual.md" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/qunitjs/qunit/blob/</span><span class="invisible">main/docs/api/assert/propEqual.md</span></a></p><p><a href="https://github.com/qunitjs/qunit/blob/3.0.0-alpha.4/.eslintrc.json#L238" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/qunitjs/qunit/blob/</span><span class="invisible">3.0.0-alpha.4/.eslintrc.json#L238</span></a></p>
QUnit<p>I&#39;m drafting a diagram to explain how before/after hooks work in unit tests.</p><p>They tend to work the same way across test frameworks, so it&#39;s not unique to QUnit. But, new devs will learn this for the first time, so I think it&#39;s worth explaining.</p><p>Page:<br /><a href="https://qunitjs.com/api/QUnit/module/#hooks" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/api/QUnit/module/#</span><span class="invisible">hooks</span></a></p><p>Issue tracker:<br /><a href="https://github.com/qunitjs/qunit/issues/1358#issuecomment-2614663327" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/qunitjs/qunit/issue</span><span class="invisible">s/1358#issuecomment-2614663327</span></a></p><p>What do you think?</p><p><a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="tag">#<span>qunit</span></a> <a href="https://fosstodon.org/tags/WriteTheDocs" class="mention hashtag" rel="tag">#<span>WriteTheDocs</span></a> <a href="https://fosstodon.org/tags/TechnicalWriting" class="mention hashtag" rel="tag">#<span>TechnicalWriting</span></a> <a href="https://fosstodon.org/tags/SoftwareDocumentation" class="mention hashtag" rel="tag">#<span>SoftwareDocumentation</span></a> <a href="https://fosstodon.org/tags/documentation" class="mention hashtag" rel="tag">#<span>documentation</span></a> <a href="https://fosstodon.org/tags/devex" class="mention hashtag" rel="tag">#<span>devex</span></a> <a href="https://fosstodon.org/tags/TDD" class="mention hashtag" rel="tag">#<span>TDD</span></a></p>
QUnit<p>QUnit 2.24.0 is out!</p><p>Highlights from 2.23.1 and 2.24.0:</p><p>📝 Improved CLI output with the new stack trace formatter. <br />🧩 Include mjs and cjs files by default when testing a directory.<br />✨ There is a new QUnit Blog for your feed reader.</p><p>Details: <a href="https://qunitjs.com/blog/2025/01/20/qunit-2-24-0/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/blog/2025/01/20/qu</span><span class="invisible">nit-2-24-0/</span></a><br />Download: <a href="https://qunitjs.com/intro/#release-channels" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/intro/#release-cha</span><span class="invisible">nnels</span></a></p><p><a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="tag">#<span>qunit</span></a></p>
QUnit<p>QUnit 2.23.0 is out!</p><p>🏷️ Add automatic labels for simple array values in `QUnit.test.each()`.</p><p>Changelog: <a href="https://github.com/qunitjs/qunit/blob/main/History.md#2230--2024-12-03" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/qunitjs/qunit/blob/</span><span class="invisible">main/History.md#2230--2024-12-03</span></a><br />Download: <a href="https://qunitjs.com/intro/#release-channels" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/intro/#release-cha</span><span class="invisible">nnels</span></a></p><p>Learn more:<br /><a href="https://qunitjs.com/api/QUnit/test.each/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/api/QUnit/test.eac</span><span class="invisible">h/</span></a></p><p><a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="tag">#<span>qunit</span></a></p>
QUnit<p>QUnit 2.22.0 is out!</p><p>☑️ New `test.if()` and `module.if()` functions to facilitate conditional skipping.</p><p>Changelog: <a href="https://github.com/qunitjs/qunit/blob/2.22.0/History.md" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/qunitjs/qunit/blob/</span><span class="invisible">2.22.0/History.md</span></a><br />Download: <a href="https://qunitjs.com/intro/#release-channels" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/intro/#release-cha</span><span class="invisible">nnels</span></a><br />Docs: <a href="https://qunitjs.com/api/QUnit/test.if/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">qunitjs.com/api/QUnit/test.if/</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="tag">#<span>qunit</span></a> <a href="https://fosstodon.org/tags/TDD" class="mention hashtag" rel="tag">#<span>TDD</span></a></p>
Timo Tijhof<p>Oh my,<br />a web component?<br />on jquery dot com?</p><p>minibar is a 2kB standalone search widget. Accessible and progressively-enhancing (works without JavaScript!). An alternative to the popular 100kB DocSearch.js widget.</p><p>It goes well with Typesense, an awesome FLOSS open-source alternative to Algolia. And it&#39;s (if you want, and yes we do) self-hostable!</p><p><a href="https://github.com/jquery/typesense-minibar" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/jquery/typesense-mi</span><span class="invisible">nibar</span></a></p><p>Demo: <a href="https://jquery.com/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">jquery.com/</span><span class="invisible"></span></a><br />or <a href="https://qunitjs.com/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">qunitjs.com/</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/webperf" class="mention hashtag" rel="tag">#<span>webperf</span></a> <a href="https://fosstodon.org/tags/typesense" class="mention hashtag" rel="tag">#<span>typesense</span></a> <a href="https://fosstodon.org/tags/ProgressiveEnhancement" class="mention hashtag" rel="tag">#<span>ProgressiveEnhancement</span></a> <a href="https://fosstodon.org/tags/algolia" class="mention hashtag" rel="tag">#<span>algolia</span></a> <a href="https://fosstodon.org/tags/jquery" class="mention hashtag" rel="tag">#<span>jquery</span></a> <a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="tag">#<span>qunit</span></a></p>
QUnit<p>QUnit 2.21.1 is out!</p><p>🐛 Fix bug in stacktrace cleaner.<br />🐛 Fix bug where a second &quot;Hide passed&quot; click reversed test results.<br />👉 Add notice about upcoming change in how assert.expect() counts steps for assert.verifySteps().</p><p>Details: <a href="https://github.com/qunitjs/qunit/blob/2.21.1/History.md" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/qunitjs/qunit/blob/</span><span class="invisible">2.21.1/History.md</span></a><br />Download: <a href="https://qunitjs.com/intro/#download" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">qunitjs.com/intro/#download</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="tag">#<span>qunit</span></a></p>
Timo Tijhof<p><span class="h-card" translate="no"><a href="https://mastodon.coffee/@nullvoxpopuli" class="u-url mention">@<span>nullvoxpopuli</span></a></span> </p><p>By the way, if you&#39;re interested in TypeScript, I could use some help with QUnit TS support. There are something between types/qunit and ember-qunit that I don&#39;t fully understand yet.</p><p>A second motivated person might help get it over the finish line! After this, perhaps we can also look at moving it over to our own package.</p><p><a href="https://github.com/DefinitelyTyped/DefinitelyTyped/pull/63805" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/DefinitelyTyped/Def</span><span class="invisible">initelyTyped/pull/63805</span></a></p><p><a href="https://github.com/DefinitelyTyped/DefinitelyTyped/pull/62328" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/DefinitelyTyped/Def</span><span class="invisible">initelyTyped/pull/62328</span></a></p><p><a href="https://github.com/DefinitelyTyped/DefinitelyTyped/pull/60677" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/DefinitelyTyped/Def</span><span class="invisible">initelyTyped/pull/60677</span></a></p><p><a href="https://fosstodon.org/tags/emberjs" class="mention hashtag" rel="tag">#<span>emberjs</span></a> <a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="tag">#<span>qunit</span></a> <a href="https://fosstodon.org/tags/TypeScript" class="mention hashtag" rel="tag">#<span>TypeScript</span></a></p>
QUnit<p>The journey to QUnit 3 has begun!</p><p>Most projects require no changes to upgrade. It&#39;s the same easy-to-use API you know.</p><p>If you use/maintain plugins, themes, or other integrations, minor changes might be needed. Take QUnit 3.0.0-alpha for a local spin, and let us know about any surprises or issues!</p><p>Changelog: <a href="https://github.com/qunitjs/qunit/blob/3.0.0-alpha.4/History.md" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/qunitjs/qunit/blob/</span><span class="invisible">3.0.0-alpha.4/History.md</span></a></p><p>Much improved docs: <a href="https://qunitjs.com/intro/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">qunitjs.com/intro/</span><span class="invisible"></span></a></p><p>New theme design: <a href="https://github.com/qunitjs/qunit/pull/1774" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/qunitjs/qunit/pull/</span><span class="invisible">1774</span></a></p><p>Matrix chat: <a href="https://app.element.io/#/room/#qunitjs_qunit:gitter.im" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">app.element.io/#/room/#qunitjs</span><span class="invisible">_qunit:gitter.im</span></a></p><p><a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="tag">#<span>qunit</span></a> <a href="https://fosstodon.org/tags/TDD" class="mention hashtag" rel="tag">#<span>TDD</span></a> <a href="https://fosstodon.org/tags/TestAnythingProtocol" class="mention hashtag" rel="tag">#<span>TestAnythingProtocol</span></a></p>
QUnit<p><span class="h-card" translate="no"><a href="https://mastodon.social/@preya" class="u-url mention">@<span>preya</span></a></span> <span class="h-card" translate="no"><a href="https://fosstodon.org/@rauschma" class="u-url mention">@<span>rauschma</span></a></span> </p><p>This is why we added assert.closeTo()!</p><p>Indeed, the same need exists in PHP and Python as well.</p><p><a href="https://qunitjs.com/api/assert/closeTo/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/api/assert/closeTo</span><span class="invisible">/</span></a></p><p><a href="https://docs.phpunit.de/en/9.6/assertions.html#assertequalswithdelta" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">docs.phpunit.de/en/9.6/asserti</span><span class="invisible">ons.html#assertequalswithdelta</span></a></p><p><a href="https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertAlmostEqual" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">docs.python.org/3/library/unit</span><span class="invisible">test.html#unittest.TestCase.assertAlmostEqual</span></a></p><p><a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="tag">#<span>qunit</span></a> <a href="https://fosstodon.org/tags/php" class="mention hashtag" rel="tag">#<span>php</span></a> <a href="https://fosstodon.org/tags/phpunit" class="mention hashtag" rel="tag">#<span>phpunit</span></a> <a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="tag">#<span>python</span></a></p>
QUnit<p>QUnit 2.21 is out!</p><p>☑️ New `assert.closeTo` for float-friendly number comparisons.<br />☑️ New flat preconfig feature for improved interop between plugins.<br />👉 Deprecate `QUnit.load`, with a new migration guide.<br />👉 Deprecate unset timeout for tests longer than 3 seconds. Check testTimeout docs for how to set a timeout.</p><p>Credit to James M. Greene for the original qunit-assert-close plugin! <a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="tag">#<span>qunit</span></a> <a href="https://fosstodon.org/tags/closeButNoCigar" class="mention hashtag" rel="tag">#<span>closeButNoCigar</span></a></p><p>Details: <a href="https://github.com/qunitjs/qunit/blob/2.21.0/History.md" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/qunitjs/qunit/blob/</span><span class="invisible">2.21.0/History.md</span></a><br />Download: <a href="https://qunitjs.com/intro/#release-channels" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/intro/#release-cha</span><span class="invisible">nnels</span></a></p>
Jan D<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@rauschma" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>rauschma</span></a></span> re:Jest: I was surprised that… <a href="https://hci.social/tags/QUnit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QUnit</span></a> worked very well for my plain ES6 projects!</p>
QUnit<p>QUnit 2.20.1</p><p>🐛 Fix compat with sinon.useFakeTimers in IE 10 and IE 11.<br />🐛 Fix hanging assert.async() after assert.timeout().</p><p>Welcome Timmy Willison <span class="h-card" translate="no"><a href="https://hachyderm.io/@timmywil" class="u-url mention">@<span>timmywil</span></a></span> as QUnit contributor! <a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="tag">#<span>qunit</span></a> <a href="https://fosstodon.org/tags/sinon" class="mention hashtag" rel="tag">#<span>sinon</span></a></p><p>Details: <a href="https://github.com/qunitjs/qunit/blob/2.20.1/History.md" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/qunitjs/qunit/blob/</span><span class="invisible">2.20.1/History.md</span></a><br />Download: <a href="https://qunitjs.com/intro/#release-channels" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/intro/#release-cha</span><span class="invisible">nnels</span></a></p>
QUnit<p>QUnit 2.20.0</p><p>Highlights:<br />🐛 Add type check to assert.async().<br />🐛 Remove units for 0 values in qunit.css.<br />⏱ Faster internal inArray operations.</p><p>Welcome Zixin and Hareesh as QUnit contributors! <a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="tag">#<span>qunit</span></a></p><p>Details: <a href="https://github.com/qunitjs/qunit/blob/2.20.0/History.md" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/qunitjs/qunit/blob/</span><span class="invisible">2.20.0/History.md</span></a> <br />Download: <a href="https://qunitjs.com/intro/#release-channels" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/intro/#release-cha</span><span class="invisible">nnels</span></a></p>
QUnit<p>Check out QUnitX by <span class="h-card" translate="no"><a href="https://ruby.social/@izelnakri" class="u-url mention">@<span>izelnakri</span></a></span>:<br /><a href="https://github.com/izelnakri/qunitx" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">github.com/izelnakri/qunitx</span><span class="invisible"></span></a></p><p>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!</p><p><a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="tag">#<span>qunit</span></a> <a href="https://fosstodon.org/tags/deno" class="mention hashtag" rel="tag">#<span>deno</span></a> <a href="https://fosstodon.org/tags/tdd" class="mention hashtag" rel="tag">#<span>tdd</span></a> <a href="https://fosstodon.org/tags/qunitx" class="mention hashtag" rel="tag">#<span>qunitx</span></a> <a href="https://fosstodon.org/tags/crossbrowsertesting" class="mention hashtag" rel="tag">#<span>crossbrowsertesting</span></a></p>
QUnit<p>Guess who&#39;s number 1 on the test-runners Speedlify, for the third year in a row!</p><p><a href="https://www.speedlify.dev/test-runners/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://www.</span><span class="">speedlify.dev/test-runners/</span><span class="invisible"></span></a></p><p><a href="https://qunitjs.com" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">qunitjs.com</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="tag">#<span>qunit</span></a> <a href="https://fosstodon.org/tags/perfmatters" class="mention hashtag" rel="tag">#<span>perfmatters</span></a> <a href="https://fosstodon.org/tags/tdd" class="mention hashtag" rel="tag">#<span>tdd</span></a> <a href="https://fosstodon.org/tags/crossbrowsertesting" class="mention hashtag" rel="tag">#<span>crossbrowsertesting</span></a></p>
QUnit<p>QUnit 2.19.4</p><p>Highlights since 2.19.0:<br />⏱ Faster assert.deepEqual() and QUnit.equiv() by <span class="h-card" translate="no"><a href="https://ruby.social/@izelnakri" class="u-url mention">@<span>izelnakri</span></a></span> and <span class="h-card" translate="no"><a href="https://fosstodon.org/@krinkle" class="u-url mention">@<span>krinkle</span></a></span>.<br />⏱ Faster diffing when using config.noglobals.<br />🐛 Fix memory release from last async test.<br />🐛 Fix various CLI bugs.<br />📝 Improve API examples and fix typos.</p><p>Thanks Izel Nakri, Sergey Astapov, and others for their contributions. <a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="tag">#<span>qunit</span></a> <a href="https://fosstodon.org/tags/tdd" class="mention hashtag" rel="tag">#<span>tdd</span></a> <a href="https://fosstodon.org/tags/ember" class="mention hashtag" rel="tag">#<span>ember</span></a> <a href="https://fosstodon.org/tags/javascript" class="mention hashtag" rel="tag">#<span>javascript</span></a></p><p>Details: <a href="https://github.com/qunitjs/qunit/blob/2.19.4/History.md" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/qunitjs/qunit/blob/</span><span class="invisible">2.19.4/History.md</span></a> <br />Download: <a href="https://qunitjs.com/intro/#release-channels" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/intro/#release-cha</span><span class="invisible">nnels</span></a></p>