Vitest
@vitest.dev
Next generation testing framework powered by @vite.dev ⚡️
https://vitest.dev
https://vitest.dev
Pinned
Vitest
@vitest.dev
· 19d
Announcing Vitest 4.0
Vitest 4.0 Release Announcement
vitest.dev
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
- 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
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?...
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
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?...
The new CSF, the deeper Vitest integration, so many DX wins!
@storybook.js.org @vitest.dev @yannbf.bsky.social
youtu.be/YNQ_cJ6yy2Q?...
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-...
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
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-...
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-...
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 👇
Full video in comments 👇
October 24, 2025 at 2:31 AM
Watch Jessica Sachs explain and demonstrate Vitest Browser Mode, which tests components in an actual browser instead of headless tests.
Full video in comments 👇
Full video in comments 👇
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
- 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
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
- 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
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
👣 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
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
👣 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
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!
We are focusing our efforts on improving the time even more in the next beta!
August 27, 2025 at 3:29 PM
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!
We are focusing our efforts on improving the time even more in the next beta!
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
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
⚡ 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
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
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! ✅
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
⚡ 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! ✅
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! ✅
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
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
⚡ 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
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
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...
storybook.js.org/blog/next-ge...
August 21, 2025 at 6:00 PM
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...
storybook.js.org/blog/next-ge...
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...
main.vitest.dev/guide/browse...
July 28, 2025 at 9:30 AM
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...
main.vitest.dev/guide/browse...
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...
github.com/kasperpeulen...
July 28, 2025 at 7:43 AM
Exciting early success with component testing for @react.dev server components (RSC) in @vitest.dev by @kasperpeulen.bsky.social!
github.com/kasperpeulen...
github.com/kasperpeulen...
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 🚀
The @vite.dev , @vitest.dev, and @nitro.build ecosystems are still growing 🚀
July 7, 2025 at 5:57 PM
🎉 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 🚀
The @vite.dev , @vitest.dev, and @nitro.build ecosystems are still growing 🚀
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 👇
Requirements:
- Interactive draggability test
- Cross browser testing
Thread 👇
June 21, 2025 at 9:44 AM
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 🪄
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 👇
Requirements:
- Interactive draggability test
- Cross browser testing
Thread 👇
June 20, 2025 at 8:40 PM
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 👇
Requirements:
- Interactive draggability test
- Cross browser testing
Thread 👇
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
Our latest post walks through how to use the coverage reporting in Storybook 9 to be sure your components are well-tested.
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!
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...
Mocking Ghost Methods in Vitest
cc/ @vitest.dev
graficos.net/blog/2025-05...
June 14, 2025 at 10:46 PM
@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!
Reposting because my personal site was broken but I have fixed it!
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
Wow, love @vitest.dev is preventing me from merging PR with test.only on CI. No configuration. It just keeps me safe.
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...
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
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...
www.npmjs.com/package/neon...
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.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
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.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
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
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...
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!
▶️ 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
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!
▶️ 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!