Repository navigation
delivery-verifier 0.2.0
dv prove now works with Vitest.
pipx install https://github.com/clean99/delivery-verifier/releases/download/v0.2.0/delivery_verifier-0.2.0-py3-none-any.whl
dv prove --test "./node_modules/.bin/vitest run"Added
- Vitest 3.2.x support for
dv prove, tested with Vite 6.3.5, 6.4.5 and 7.3.7, for directvitest,npx vitest,pnpm vitestandpnpm exec vitestcommands. - Red counts only when tests fail on test-body assertions. Hook, cleanup-callback, setup, import, suite, unhandled and late shutdown errors fail closed; retries, repeats and
test.failsare rejected. - Inline and external snapshots, read-only in both phases; each test must consume the same snapshot entries in red and green, and snapshot-bearing tests need unique full names.
- The Vitest harness is held constant: the inputs Vite and Vitest report (config files and their dependencies, setup and workspace files, env files) and the effective resolved configuration must be identical in both phases, so a PR that changes them fails closed. Files read by plugins or other code that Vite does not report count as part of the change under test, so a PASS says the test detects that change, not that a product module was fixed.
- Vitest options are an allowlist; others, such as
--diff, are rejected before anything runs.
Changed
- Proof worktrees run in a temporary directory outside the repository; Node runners get per-phase copy-on-write clones of
node_modules; every phase cleans its own temporary root, including after a timeout. pytest and unittest commands run as in 0.1.0.
Full notes: CHANGELOG.
SHA-256:
032268e5c7aafd831089db2c20f144151031c6cf98940ea3261f2215172454a9 delivery_verifier-0.2.0-py3-none-any.whl
f4de375bb8409f002a17c83a2298df4556fb33b1d10235a593087b44b0c8233c delivery_verifier-0.2.0.tar.gz