Vitest
banner
vitest.dev
Vitest
@vitest.dev
Next generation testing framework powered by @vite.dev ⚡️
https://vitest.dev
Pinned
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
Announcing Vitest 4.0
Vitest 4.0 Release Announcement
vitest.dev
Reposted by Vitest
Storybook v10 is looking amazing 🤩

The new CSF, the deeper Vitest integration, so many DX wins!

@storybook.js.org @vitest.dev @yannbf.bsky.social

youtu.be/YNQ_cJ6yy2Q?...
Yann Braga | Storybook Vitest | ViteConf 2025
YouTube video by ViteConf
youtu.be
October 29, 2025 at 4:30 AM
Reposted by Vitest
What's new in ViteLand?
Our October 2025 recap is out

✨ Vite+
📣 Series A announcement
👉 @vite.dev 7.2 beta
💻 @vitest.dev 4 with stable Browser Mode
⚓️ Oxlint JS Plugins & Oxfmt pre-alpha
🎙 Updates from the Community
👀 and more

voidzero.dev/posts/whats-...
What’s New in ViteLand: October 2025 Recap
Our October 2025 recap includes VoidZero's $12.5M Series A, Vite+, Vite 7.2 Beta, Vitest 4, Rolldown and Oxc updates, upcoming events, and community highlights.
voidzero.dev
November 3, 2025 at 3:34 PM
Reposted by Vitest
Watch Jessica Sachs explain and demonstrate Vitest Browser Mode, which tests components in an actual browser instead of headless tests.

Full video in comments 👇
October 24, 2025 at 2:31 AM
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
Announcing Vitest 4.0
Vitest 4.0 Release Announcement
vitest.dev
October 22, 2025 at 3:43 PM
Reposted by Vitest
Vitest vscode extension now displays your console.logs inline. An example of logging in browser mode:
October 12, 2025 at 2:13 PM
Reposted by Vitest
What's new in ViteLand? Our August 2025 recap is out

👣 Big steps for Oxlint: Type-aware linting preview & custom JS plugins roadmap
🖼️ @vitest.dev has visual regression support in beta
⏩ Native plugins enabled by default in rolldown-vite
🤌 Smaller bundles due to @rolldown.rs and Oxc
👀 and more
September 1, 2025 at 12:40 PM
Reposted by Vitest
Vitest 4 runs simple test files faster! You can already check it out by installing Vitest 4 beta. On average, Vitest now takes 25% less time to start the test. Due to parallelisation, the overall time difference can vary.

We are focusing our efforts on improving the time even more in the next beta!
August 27, 2025 at 3:29 PM
Reposted by Vitest
⚡ Speaker highlight: Yann Braga, Core Maintainer at @storybook.js.org

Storybook is well-known as a one-stop-shop for your components and partnered with @vitest.dev to build the ultimate component testing flow.

@yannbf.bsky.social will give us insights and show the full power of Storybook x Vitest
August 21, 2025 at 7:43 PM
Reposted by Vitest
⚡ Speaker highlight: Jessica Sachs, FOSS Nerd at @hero.dev

The Browser mode is one of the most exciting features of @vitest.dev!
@jess.sh will reveal what makes it so powerful, moving beyond JSDOM. You’ll learn how you can use it for component testing & cases beyond

A game-changer for testing! ✅
August 20, 2025 at 1:36 PM
Reposted by Vitest
⚡ Speaker highlight: Vladimir Sheremet, Core Maintainer of @vitest.dev

The State of Vitest is a must-see!
@erus.dev will give us the news on the most interesting testing framework, covering the latest features, performance boosts, and what's next for the @vite.dev powered testing experience
August 19, 2025 at 4:13 PM
Reposted by Vitest
Testing components that depend on things like localStorage or authentication can be tricky. Storybook makes it easy with our new module mocking API built on top of @vitest.dev's excellent mocking tools.

storybook.js.org/blog/next-ge...
August 21, 2025 at 6:00 PM
Reposted by Vitest
Built-in Visual Regression testing comes to Vitest in the next major release! Thank you, @macarie.blue for working on this feature 👏

main.vitest.dev/guide/browse...
July 28, 2025 at 9:30 AM
Reposted by Vitest
Exciting early success with component testing for @react.dev server components (RSC) in @vitest.dev by @kasperpeulen.bsky.social!

github.com/kasperpeulen...
July 28, 2025 at 7:43 AM
Reposted by Vitest
Vitest Browser Mode reached almost 1.2 million weekly downloads 😮

Last time I checked it was 200k 🫣
July 22, 2025 at 12:42 PM
Reposted by Vitest
🎉 Excited to see @analogjs.org for @angular.dev pass 50K weekly downloads and still climbing!

The @vite.dev , @vitest.dev, and @nitro.build ecosystems are still growing 🚀
July 7, 2025 at 5:57 PM
Reposted by Vitest
Highly recommend checking out @vitest.dev' Browser Mode. Not only did the setup get simpler, but to my surprise, tests got also roughly twice as fast. I only needed to rewrite one bad test suite (out of hundreds) and change the way I import MSW. Absolutely magical stuff 🪄
Wow!! @vitest.dev Browser mode is GOATED!! I moved all my test suite from playwright test to vitest browser, and things became a helluva lot simpler.

Requirements:
- Interactive draggability test
- Cross browser testing

Thread 👇
June 21, 2025 at 9:44 AM
Reposted by Vitest
Wow!! @vitest.dev Browser mode is GOATED!! I moved all my test suite from playwright test to vitest browser, and things became a helluva lot simpler.

Requirements:
- Interactive draggability test
- Cross browser testing

Thread 👇
June 20, 2025 at 8:40 PM
Reposted by Vitest
Our latest post walks through how to use the coverage reporting in Storybook 9 to be sure your components are well-tested.
Frontend test coverage with Storybook 9
Stories give you free test coverage
storybook.js.org
June 18, 2025 at 6:38 PM
Reposted by Vitest
Anyone knows of any good Vitest monorepo examples?
June 15, 2025 at 7:44 AM
Reposted by Vitest
@vitest.dev is awesome. Did you know you can even mock methods that don't exist?? I called them "Ghost Methods" in this post.

Reposting because my personal site was broken but I have fixed it!
I published an article in my personal page:

Mocking Ghost Methods in Vitest

cc/ @vitest.dev

graficos.net/blog/2025-05...
June 14, 2025 at 10:46 PM
Reposted by Vitest
Wow, love @vitest.dev is preventing me from merging PR with test.only on CI. No configuration. It just keeps me safe.
June 10, 2025 at 3:06 PM
Reposted by Vitest
I just launched a new NPM package - a @vitest.dev utility for automated integration tests with Neon! It's really sweet. Check it out.

www.npmjs.com/package/neon...
neon-testing
A Vitest utility for automated integration tests with Neon. Latest version: 1.0.1, last published: 6 minutes ago. Start using neon-testing in your project by running `npm i neon-testing`. There are no...
www.npmjs.com
June 9, 2025 at 10:48 PM
Reposted by Vitest
I’ve made Sveltest a thing 🫣

sveltest.dev

This is documentation for getting started using vitest-browser-svelte in your projects

I’m currently going through the docs sveltest.dev/docs/getting-started comparing with what me and my team are doing “real-world” and validating

Contributions welcome
Sveltest - Comprehensive Testing Suite for Svelte
A comprehensive collection of testing patterns and examples for modern Svelte applications
sveltest.dev
June 7, 2025 at 7:36 PM
Reposted by Vitest
We've added new coverage provider comparison page on Vitest documentation. This guide describes the lower level differences between Istanbul and V8. It should help users choosing which provider to use. vitest.dev/guide/covera...
June 6, 2025 at 7:40 AM
Reposted by Vitest
Storybook 9 is here!

▶️ Interaction tests
♿ Accessibility tests
👁️ Visual tests
🛡️ Coverage reports
🚥 Test widget
🪶 48% Leaner
✍️ Story generation
🏷️ Tag-based organization
🌐 Story globals
🏗️ Major updates for Svelte, Next.js, React Native, and more!

Let’s dive in!
June 3, 2025 at 5:05 PM