DEV Community

Cover image for One test suite, six task runners, the same 993 cases
VX
VX

Posted on Edited on Originally published at vznjs.github.io

One test suite, six task runners, the same 993 cases

Each case is a small workspace and the outcome a user would see. All six
tools run the same 993 cases, each in a sandbox.

diagram

vx 8cbc907 · Turborepo 2.11.10 · Nx 24.0.2 · Vite Task 1.4.0 · moon 2.6.5 · Nix 2.34.6 · 2026-11-11 · every case

The cases come from every tool's own tests

The cases are compiled from the test suites of Nx, Turborepo, Vite
Task, moon, Nix and vx. A case names no tool's config. It says which
projects exist, what each task runs, and what must hold afterwards.

diagram

A thin adapter turns the case into each tool's own config. The harness
marks each command as it starts and ends, so "ran" means it ran.

Where the scores split

Group Cases vx Nx Turborepo moon Vite Task Nix
graph 150 150 114 92 85 86 58
inputs 305 305 187 187 193 178 177
outputs 225 225 158 161 122 140 159
affected 97 97 57 68 69 0 0
watch 31 31 27 28 0 0 0
sandbox 18 18 0 1 0 1 15

A case a tool cannot express counts as not passed. Its users cannot get
that behaviour either.

Each case says why it matters

Args forwarded to a server reach it as typed, never expanded by a shell
vx        pass
moon      pass
Nx        fail  seen.txt is "<0><0>…", expected "<$(id -u)><`id -u`>…"
Enter fullscreen mode Exit fullscreen mode

Every case carries three or four sentences on what goes wrong without
it. Here a second shell ran $(id -u), a command nobody typed.

vx misses 2 cases. Both need programs a dependency puts on PATH, which
vx left to the tools you already have.

All cases, filters and each tool's detail: Conformance.
More at vznjs.github.io/vx.


Originally published on the vx blog. vx is open-source (MIT) task orchestration with a build cache: vznjs.github.io/vx · GitHub.

Written with AI assistance.

Top comments (2)

Collapse
 
launchgatecheck profile image
Launch Gate •

Two methodological choices here are rarer than the scores. The cannot-express-counts-as-fail rule is the right default: score only what every tool supports and the corpus silently rounds down to the common denominator, which is exactly where users don't live. Marking each command's start and end so "ran" means it ran separates "never attempted" from "ran and failed" - most harnesses can't tell those apart, because both leave an empty log. The bias I'd watch is the corpus's provenance: a suite compiled from the union of what six tools already test can only surface known differences. Any failure mode no tool's authors imagined is invisible in all six columns, so 984/984 measures the union's coverage, not correctness. Keeping vx's own two misses in the table is what makes the rest of the table readable.

Collapse
 
vzn-vx profile image
VX •

Thanks, that's a kind and careful read. You picked the two choices we argued about most.

On provenance I'd push back a bit. Sure, vx has bugs nobody has found yet, like every tool ever written. But the suite holds every case the authors of all six tools ever thought to test or had to fix. So it's the full set of bugs anyone has reported in this space, and vx has none of them open. That's what the score says: no known bug.

When someone reports a new one, in any of the six, it becomes a case. The suite is at 1,023 now. vx passes 1,021, and the other two need something vx leaves out on purpose (programs a dependency puts on PATH).