Grilled Cheese

ExploreLog inSign up

Vitest

@vitest.dev

80 Following6.1k Followers

Next generation testing framework powered by @vite.dev ⚡️
https://vitest.dev

PostsRepliesMedia
@ariperkkio.devNov 30, 2026, 8:03 AMReposted by @vitest.dev

Less than 2 years since its first release ast-v8-to-istanbul has surpassed original v8-to-istanbul in npm downloads. While new alternatives like Vitest and rstest have adapted ast-v8-to-istanbul, older tools like Jest, c8 and modern web testrunner still output inaccurate V8 coverage with the old one

NPM weekly downloads chart from npmx.dev. Compares weekly downloads of ast-v8-to-istanbul and v8-to-istanbul. Highlights how ast-v8-to-istanbul has surpassed original v8-to-istanbul after 2 years. 57.3M downloads vs 56.2M.
AAriPerkkio@ariperkkio.devMar 21, 2025, 9:42 AM

Finalizing rewrite of AST-aware v8-to-istanbul. This will provide accuracy of Istanbul coverage for V8 coverage reports. I've intentionally kept this tool unopinionated so that it's not strictly tied to just @vitest.dev - it should be usable with Jest, C8, Playwright and node:test too.

- Speed of V8 coverage 🏎
- Accuracy of Istanbul coverage 🔍
Experimental AST-aware v8-to-istanbul. Work-in-progress. 🚧
- Unopinionated - bring-your-own AST parser and source maps.
- Passes all 195 tests* of istanbul-lib-instrument. ✅

This project tests itself against test cases of istanbul-lib-instrument and verifies coverage maps are 100% identical. Some cases, like deprecated with() statement and edge cases of strict mode are skipped, as all tests are run in strict mode.

100% istanbul compatibility guarantees that coverage reports between V8 and Istanbul can be merged together.
@voidzero.devNov 28, 2026, 12:00 PMReposted by @vitest.dev

Two new flags in @vitest.dev 5.1 to reduce unnecessary test runs!

--changed: tests affected by changes since a Git ref
--since-last-run: tests files changed since their last run (no Git needed)

Let your agents know ASAP by adding it to your AGENTS.md.

More info
vitest.dev/blog/vitest-...

Let your agent test only what changed. Vitest 5.1 adds --since-last-run. Add it to your AGENTS.md.

Code example, with lines 2 to 3 highlighted:
# AGENTS.md
- After a change, run `vitest run --since-last-run`
  to test only what the change affects.
- Before you finish, run `vitest run` once
  for the whole suite.
List: --changed runs tests for files changed since a Git ref; --since-last-run runs tests whose files changed since their last run; No Git needed, so it works in containers and worktrees. --since-last-run is experimental in Vitest 5.1. Source: vitest.dev/blog/vitest-5-1.
?Unknown authorNov 13, 2026, 9:51 AMReposted by @vitest.dev

@nicolas.dubien.me cooking something for vitest 5.2 that you might be interested in 👀

A list of 3 PRs with names:
- feat(experimental): seed repeats and add --replay-seed
- feat(experimental): add vi.useFakeRandom and restoreRandom
- feat(experimental): add seed option and context.random
@voidzero.devNov 9, 2026, 1:07 PMReposted by @vitest.dev

When we joined @cloudflare.social, we announced a $1M fund for the open source ecosystem around @vite.dev.

Today we're distributing the first $301,300 to 44 projects and maintainers, from critical dependencies to contributors.

No project thrives in isolation 💜

All details in our blog post

blog.cloudflare.comLaunching the Vite Ecosystem FundCloudflare is distributing the first $301,300 of the Vite Ecosystem Fund to open source projects and maintainers.
3
@voidzero.devNov 5, 2026, 2:56 PMReposted by @vitest.dev

Tales from the Void: October 2026 Recap is out 🎉

- tsrs: our Rust port of @typescriptlang.org, up to 8x faster
- The Void SDK and platform are open sourced
- @vitest.dev 5.1 is out and can rerun only affected tests
- The first @viteconf.org talks are on YouTube
- and more from the community 👀

voidzero.devTales from the Void: October 2026 RecapOur October 2026 recap covers tsrs, our up to 8x faster Rust port of TypeScript, the open-source release of Void, Vitest 5.1, and the latest from Vite+, Vite, Rolldown, and our community.
@jonathanschndr.deNov 2, 2026, 5:03 PMReposted by @vitest.dev

Vitest 5.1 just landed and my favourite addition is tiny: --last-failed.

Tested it: 6 test files, 2 failing. Next run only ran those 2. Fixed one, and the run after that only ran the one still red. Shrinking feedback loop, no copy-pasting file names.

@vitest.dev #Vitest #javascript

Terminal comparison of three Vitest 5.1 runs on a small test project. Run 1, "vitest run": 6 test files, 2 failed (t3 and t6), 4 passed. Run 2 after fixing t3, "vitest run --last-failed": only 2 files run, t3 now passes, t6 still fails. Run 3, "vitest run --last-failed" again: only t6 runs (1 file). Caption: the selection shrinks as you fix tests.
@vitest.devNov 2, 2026, 5:00 PM

Vitest 5.1 is out! 🎉

⚡ --since-last-run: rerun only tests your edits affect, no Git
📸 Interactive snapshot review
🔍 Trace View on failure by default
🎭 Up to 2x faster vi.mock in Browser Mode
🔁 --last-failed
📊 5-10x faster istanbul instrumentation

vitest.dev/blog/vitest-...

vitest.devAnnouncing Vitest 5.1Vitest 5.1 Release Announcement
1
@ariperkkio.devOct 30, 2026, 10:25 AMReposted by @vitest.dev

Vitest-styled coverage reports landing in the next minor release. Dark mode is finally available. 🌘
Live example at ariperkkio.github.io/pages/coverage

@ariperkkio.devOct 19, 2026, 5:31 PMReposted by @vitest.dev

Latest work on Vitest's istanbuljs fork removed Babel from coverage-istanbul. Instrumentation is now done with packages that Vitest dep graphs already have: magic-string and rolldown, similar to Vite's own SSR transform. Surprisingly this dep trim improved instrumentation speed 5-10x.

github.comRelease v2.0.0 · vitest-dev/istanbuljs🚨 Breaking Changes lib-instrument: Replace babel with rolldown + magic-string  -  by @AriPerkkio in #28 (fdd34) @vitest/istanbul-lib-instrument no longer uses Babel. Code is parsed with OXC (v...
@vitest.devSep 17, 2026, 10:13 AM

🚀 Vitest 5.0.1 is out with more than 18 fixes

Among them: `define` values are no longer double-quoted in browser mode!

It also includes a focused Trace View layout which is used by the Vitest VS Code extension.

Time to update 👀

github.com/vitest-dev/v...

@vitest.devSep 3, 2026, 2:11 PM

Vitest 5 is here! 🎉 - Big performance improvements (vm pools up to 53% faster, ~18% boost across the board including Browser Mode) - New builtin Trace View in Browser Mode - Nested projects support - New benchmarking API - New `vi.when` API - Better defaults - And a lot of bug fixes!

vitest.devAnnouncing Vitest 5.0Vitest 5.0 Release Announcement
2
@vitest.devMar 12, 2026, 5:54 PM

Vitest 4.1 is out! 🚀

✅ Vite 8 support from day 1
🏷️ Test tags to organize, filter & apply shared options
🪝 New hooks for easier tracing, transactions and AsyncLocalStorage
🔍 Async leak detection
🤖 Agent reporter to reduce token usage

And much more!

Full blog post at vitest.dev/blog/vitest-...

vitest.devAnnouncing Vitest 4.1Vitest 4.1 Release Announcement
1
@vitest.devOct 22, 2025, 3:43 PM

Vitest 4 is out!

- Browser Mode is Stable
- Visual Regression Testing
- Improved Debugging
- Pool Stabilization
- New APIs
- Bug Fixes

Stay updated with our blog post:

vitest.dev/blog/vitest-4

vitest.devAnnouncing Vitest 4.0Vitest 4.0 Release Announcement
3
@vitest.devJun 2, 2025, 2:11 PM

Vitest 3.2 is out!

- New Annotations API
- Scoped Fixtures
- Custom Browser Locators API
- Test Signal
- Better V8 Coverage Result

And many more features!

vitest.dev/blog/vitest-...

2
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST