frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

QUnitX: Run the same test file in Node, Deno, and the browser. Zero dependencies

https://github.com/izelnakri/qunitx
1•izelnakri•1h ago

Comments

izelnakri•1h ago

  I got tired of test frameworks that require config files, plugins, and 50MB of dependencies just to run assert.equal. So I built QUnitX.

  The pitch is simple: one test file, three runtimes, no changes.

  import { module, test } from 'qunitx';

  module('Math', () => {
    test('addition', (assert) => {
      assert.equal(2 + 2, 4);
    });
  });

  node --test math-test.js
  deno test math-test.js
  qunitx math-test.js  # browser, headless

  Why QUnit?

  I know the reaction: "QUnit? That jQuery thing from 2008?" — yes, exactly. That's the point. It's been solving real edge cases for 16 years that Jest/Vitest are still catching up to. assert.deepEqual correctly handles circular references, typed arrays, Maps, Sets, prototype chains. assert.step / assert.verifySteps catches missing async callbacks that other frameworks silently swallow. assert.expect(n) fails if the wrong number of assertions ran — invaluable when async code paths are involved.

  What QUnitX actually does:

  - Wraps Node's built-in node:test runner with the QUnit lifecycle (no Jest, no Vitest, nothing extra)
  - Wraps Deno's native BDD runner the same way
  - Browser path is a thin re-export of QUnit itself — full browser UI with filterable, shareable test URLs

  TypeScript works out of the box (node --import=tsx/esm --test). Coverage via npx c8. Watch mode via --watch. Zero runtime dependencies.

  The browser demo is what I'm most proud of — the QUnit UI lets you filter to any test and share the URL, so your colleague sees the exact same filtered view. We've been using this in production for years and it never gets old.
Repo: https://github.com/izelnakri/qunitx

AI Gets Wrong Woman Jailed for Six Months, Life Ruined

https://www.youtube.com/watch?v=mzS7dmCUzcQ
2•vaxman•1m ago•0 comments

An enormous brain in a jar? NASA's best space telescope saw something real weird

https://www.skyatnightmagazine.com/news/exposed-cranium-nebula-webb
1•rolph•2m ago•0 comments

CachyOS Is Now the Most Popular Desktop Linux Distro on ProtonDB

https://boilingsteam.com/cachy-os-is-now-the-most-popular-distro-on-proton-db/
1•ekianjo•3m ago•0 comments

MacBook Neo Teardown – Is This Apple's Repairable Era?

https://www.youtube.com/watch?v=Sb9YclnJIYM
1•G3rn0ti•3m ago•0 comments

CozoDB: Hippocampus for AI, with Embedded Datalog

https://www.cozodb.org/
1•measurablefunc•3m ago•0 comments

An audio reader for your X/Twitter feed(

https://xeder-app.web.app/
1•sanjastepa•4m ago•1 comments

PopSockets created to manage headphone cables

https://www.youtube.com/watch?v=glXoAcVf45U
1•etothet•5m ago•1 comments

Firehose – Realtime mentions API from Ahrefs

https://firehose.com
2•samdb•6m ago•0 comments

Open-source Frontier Airlines GoWild Pass flight tracker (mobile API)

https://github.com/sallywhite-git/FrontierWildWatch
1•sally-white•6m ago•1 comments

cuTile Rust: safe, tile-based kernel programming DSL for Rust

https://github.com/NVlabs/cutile-rs
2•matt_d•6m ago•0 comments

A Brain in a Jar, in a Computer(2024)

https://ajpaganiv.substack.com/p/a-brain-in-a-jar-in-a-computer
1•rolph•7m ago•0 comments

What are RL environments and how to build them

https://unsloth.ai/blog/rl-environments
1•tamnd•7m ago•0 comments

KernelBlaster: A framework for in context learning for code optimization

https://github.com/NVlabs/KernelBlaster
1•matt_d•7m ago•0 comments

Australia added to global sharks and rays database

https://phys.org/news/2026-03-australia-added-global-sharks-rays.html
1•Brajeshwar•8m ago•0 comments

Show HN: A2A-Psychology [v0.1] – Agent2Agent Extension Idea

https://github.com/safety-quotient-lab/a2a-psychology
1•9wzYQbTYsAIc•10m ago•0 comments

Nvidia's Nemotron 3 Super is a bigger deal than you think

https://www.signalbloom.ai/posts/nvidia-nemotron-3-super-is-a-bigger-deal-than-you-think/
1•GodelNumbering•11m ago•0 comments

India's new transgender bill could replace self-ID with state verification

https://transrights.in/
2•TheOnlyWayUp•12m ago•0 comments

London, San Francisco and Beijing achieve remarkable reductions in air pollution

https://www.theguardian.com/environment/2026/mar/12/london-san-francisco-and-beijing-achieve-rema...
3•mitchbob•13m ago•0 comments

In Praise of Stupid Questions

https://mathenchant.wordpress.com/2026/03/12/in-praise-of-stupid-questions/
3•ibobev•13m ago•0 comments

Show HN: Hacker News archive (47M+ items, 11.6GB) as Parquet, updated every 5m

https://huggingface.co/datasets/open-index/hacker-news
4•tamnd•14m ago•0 comments

Photobucket's Attempted TOS Amendment Mostly Fails–Pierce v. Photobucket

https://blog.ericgoldman.org/archives/2026/03/photobuckets-attempted-tos-amended-mostly-fails-pie...
1•hn_acker•16m ago•0 comments

Changes to cardiovascular guidelines suggest taking statins as young as 30

https://www.statnews.com/2026/03/13/heart-disease-prevention-new-statin-guideline-age-30/
2•brandonb•16m ago•0 comments

When Your Apple Watch Becomes an Office Taskmaster

https://www.nytimes.com/2026/03/14/business/heart-rate-variability-hrv-biohacking.html
1•brandonb•17m ago•1 comments

Whole Brain Emulation Achieved: Scientists Run a Fruit Fly Brain in Simulation

https://www.rathbiotaclan.com/whole-brain-emulation-achieved-scientists-run-a-fruit-fly-brain-in-...
2•MaysonL•18m ago•0 comments

What Do You Do and What Do You Make?

https://nymag.com/intelligencer/article/new-york-salaries-jobs.html
1•randycupertino•18m ago•2 comments

Dateline Data Center: What's in it for us?

https://www.northernnewsnow.com/2026/03/13/dateline-data-center-whats-it-us/
1•DoctorOW•20m ago•0 comments

Printed helicoids with air channels make sensorized segments for soft robots

https://arxiv.org/abs/2602.23457
1•PaulHoule•21m ago•0 comments

TrueNAS Deprecates Public Build Repository and Raises Transparency Concerns

https://linuxiac.com/truenas-moves-build-system-internal/
1•geerlingguy•23m ago•0 comments

Show HN: Open-source alternative to Factory.ai's Agent Readiness

https://github.com/kodustech/agent-readiness
2•eddelgado•24m ago•0 comments

Ruthless Leader and Brilliant Philosopher: Who Is Ali Larijani?

https://www.haaretz.com/middle-east-news/2026-03-14/ty-article-magazine/.highlight/ruthless-leade...
1•tartoran•24m ago•0 comments