Vitest
@vitest.dev
๐ค 5605
๐ฅ 93
๐ 64
Next generation testing framework powered by
@vite.dev
โก๏ธ
https://vitest.dev
pinned post!
Let's test
go.bsky.app/Tjq3sUn
add a skeleton here at some point
11 months ago
1
39
6
reposted by
Vitest
VoidZero
22 days ago
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
1
40
10
reposted by
Vitest
Vladimir
26 days ago
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!
6
96
16
reposted by
Vitest
ViteConf
about 1 month ago
โก 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
0
25
8
reposted by
Vitest
ViteConf
about 1 month ago
โก 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! โ
1
28
8
reposted by
Vitest
ViteConf
about 1 month ago
โก 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
1
23
6
reposted by
Vitest
Storybook
about 1 month ago
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...
1
22
6
reposted by
Vitest
Vladimir
about 2 months ago
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...
6
141
26
reposted by
Vitest
Michael Shilman
about 2 months ago
Exciting early success with component testing for
@react.dev
server components (RSC) in
@vitest.dev
by
@kasperpeulen.bsky.social
!
github.com/kasperpeulen...
1
22
5
reposted by
Vitest
Vladimir
2 months ago
Vitest Browser Mode reached almost 1.2 million weekly downloads ๐ฎ Last time I checked it was 200k ๐ซฃ
10
58
9
reposted by
Vitest
Brandon Roberts
3 months ago
๐ 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 ๐
1
50
6
reposted by
Vitest
Wojciech Maj
3 months ago
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 ๐ช
add a skeleton here at some point
0
32
3
reposted by
Vitest
{PuruVijay}.svelte
3 months ago
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 ๐
3
51
10
reposted by
Vitest
Storybook
3 months ago
Our latest post walks through how to use the coverage reporting in Storybook 9 to be sure your components are well-tested.
loading . . .
Frontend test coverage with Storybook 9
Stories give you free test coverage
https://storybook.js.org/blog/frontend-test-coverage-with-storybook-9/
2
29
8
reposted by
Vitest
Vladimir
3 months ago
Anyone knows of any good Vitest monorepo examples?
5
12
3
reposted by
Vitest
Paul Melero
3 months ago
@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!
add a skeleton here at some point
0
4
1
reposted by
Vitest
Bogdan
3 months ago
Wow, love
@vitest.dev
is preventing me from merging PR with test.only on CI. No configuration. It just keeps me safe.
4
42
2
reposted by
Vitest
Mikael Lirbank
4 months ago
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...
loading . . .
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...
https://www.npmjs.com/package/neon-testing
0
3
1
reposted by
Vitest
Scott Spence
4 months ago
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
loading . . .
Sveltest - Comprehensive Testing Suite for Svelte
A comprehensive collection of testing patterns and examples for modern Svelte applications
https://sveltest.dev
2
64
12
reposted by
Vitest
AriPerkkio
4 months ago
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...
1
36
6
reposted by
Vitest
Storybook
4 months ago
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!
loading . . .
3
172
61
reposted by
Vitest
Younes Jaaidi
4 months ago
๐คฏ each
@vitest.dev
release is spot-on on pain points. The low latency between the pain points appearing in the community and the solution landing in Vitest is outstanding
add a skeleton here at some point
0
30
4
reposted by
Vitest
AriPerkkio
4 months ago
AST based V8 code coverage is finally here! I thought of this feature first time over 2 years ago, but knew it would require so much work that I couldn't finish it by working on Vitest just on weekends. Ever since
@stackblitz.com
hired me to work on Vitest I knew I could finish features like this.
add a skeleton here at some point
4
66
7
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-...
4 months ago
2
156
33
reposted by
Vitest
Svelte Society
4 months ago
The next talk from Svelte Summit Spring 2025 by
@reinhold.is
is also related to testing โ Strike the Perfect Balance: Component Testing with Storybook, Svelte, and Vitest.
youtu.be/mdyRQDDp28s
loading . . .
Component Testing with Storybook, Svelte, and Vitest โ Svelte Summit Spring 2025
YouTube video by Svelte Society
https://youtu.be/mdyRQDDp28s
1
22
14
reposted by
Vitest
Brandon Roberts
4 months ago
๐ฅ The latest release of
@analogjs.org
for
@angular.dev
is out! โ Angular v20 support โกStable
@vitest.dev
support across multiple versions of Angular ๐ค Improved support for generating new Analog apps with
@nx.dev
github.com/analogjs/ana...
loading . . .
Release v1.17.0 ยท analogjs/analog
1.17.0 (2025-05-28) Bug Fixes nx-plugin: improve application template for Angular CLI workspaces (#1747) (f9b6033) nx-plugin: install @nx/angular package for preset (#1746) (3369b75) nx-plugin: ke...
https://github.com/analogjs/analog/releases/tag/v1.17.0
0
34
8
reposted by
Vitest
Svelte Society
4 months ago
In today's released talk from Svelte Summit Spring 2025
@dominikg.dev
talks extensively about testing your Svelte applications with Vitest and Playwright โ Testing, 1 2 3 4.
www.youtube.com/watch?v=ljmU...
loading . . .
Testing, 1 2 3 4, Dominik G. โ Svelte Summit Spring 2025
YouTube video by Svelte Society
https://www.youtube.com/watch?v=ljmUuhfTR80
0
23
9
reposted by
Vitest
dominikg
4 months ago
After watching, make sure to check out
@scottspence.dev
blog post about this.
bsky.app/profile/scot...
He not only applied the patterns i showed in my talk but also expanded and improved on them, with feedback from
@erus.dev
too. A great testament of collaboration in our communities.
add a skeleton here at some point
2
17
5
reposted by
Vitest
Angular
4 months ago
Angular v20 is now available! โจ Check out the blog post for more info about the cool features and be sure to tune into the v20 developer event premiering tomorrow, May 29 at 9 AM Pacific
goo.gle/angular-v20-...
loading . . .
Announcing Angular v20
The past couple of years have been transformative for Angular, as weโve unleashed major advancements like reactivity with Signals and theโฆ
https://goo.gle/angular-v20-blog
0
84
36
reposted by
Vitest
Marvin Hagemeister
4 months ago
Testing preact apps in the browser made easy. Jovi did some excellent work on this!
add a skeleton here at some point
0
23
1
reposted by
Vitest
Jovi ๐จ
4 months ago
At Preact we love real-browser testing, our whole test suite ran in karma for the last few years. Recently we switched over to
@vitest.dev
and we absolutely love it, we love it so much that we published vitest-browser-preact. It's a library that contains tools to test Preact in vitest browser mode.
2
77
14
reposted by
Vitest
Scott Spence
4 months ago
I migrated from @testing-library/svelte to vitest-browser-svelte and blogged about it:
scottspence.com/posts/migrat...
loading . . .
Migrating from @testing-library/svelte to vitest-browser-svelte - Scott Spence
I first heard about at Svelte Summit from a talk by Dominik G, one of the core maintainers of SvelteKit and Vite. He demonstrated how this ...
https://scottspence.com/posts/migrating-from-testing-library-svelte-to-vitest-browser-svelte
4
49
11
reposted by
Vitest
Storybook
4 months ago
๐บ Webinar: Behind the scenes of Storybook Test Learn how the maintainers of Vitest + Storybook built a new workflow for running interaction, visual, and a11y testsโin a real browser, with instant feedback, right inside Storybook. ๐ Register below
1
13
5
reposted by
Vitest
Younes Jaaidi
4 months ago
I think that `expect.poll` is one of my favorite
@vitest.dev
features โฐ Less fake timers mess ๐พ Useful for Wide tests, waiting for DBs to "settle" ๐ Wait for UI to be stable ๐ช ... you name it What's your favorite Vitest feature? (๐
@playwright.dev
has the same API ๐ฏ)
#testing
#javascript
1
31
2
reposted by
Vitest
AriPerkkio
4 months ago
Onboarding on new
@storybook.js.org
projects is just perfect. So nice to have testing setup *covered* out-of-the-box. ๐ค
1
34
6
reposted by
Vitest
daniel roe ๐บ๐ฆ
4 months ago
๐ we just shipped support for vitest browser mode + workspaces โ thanks to
@jess.sh
for helping make this happen โค๏ธ
github.com/nuxt/test-ut...
loading . . .
Release v3.19.0 ยท nuxt/test-utils
๐ Changelog compare changes ๐ Enhancements config: Support vitest workspaces with defineVitestProject (#1258) config: Add nuxt environment browser-testing support (#1294) ๐ฉน Fixes config: Use Use...
https://github.com/nuxt/test-utils/releases/tag/v3.19.0
3
70
6
reposted by
Vitest
Minko Gechev
4 months ago
๐ฅ Experimental vitest support coming to Angular in a couple of weeks with support for: โฃ Watch mode โฃ Browser testing To try it out: โฃ npm i vitest jsdom --save-dev โฃ Update your angular.json โฃ Add a couple of imports
loading . . .
1
80
15
reposted by
Vitest
patak
5 months ago
dominikg is telling a
@vitest.dev
and
@svelte.dev
love story at Svelte Summit
2
32
2
reposted by
Vitest
Zach Leatherman
5 months ago
Really enjoying working with
vitest.dev
on a project that needs to be tested in Node, Safari, Firefox, and Chrome! My favorite bits: 1. Easy to setup headless browsers with Browser Mode 2. CLI runs in watch mode by default (and not on CI) 3. Has all the `assert` APIs I was used to 4. test.skipIf ๐
loading . . .
Vitest
Next generation testing framework powered by Vite
https://vitest.dev/
1
45
3
reposted by
Vitest
Mohammad Bagher ๐พ
5 months ago
thanks to
@vitest.dev
, this is one of the craziest numbers i've seen for tinylibs! ๐ค tinybench has +375,000 dependents on github alone!
github.com/tinylibs/tin...
0
21
1
reposted by
Vitest
Brandon Roberts
5 months ago
Using
@storybook.js.org
with
@angular.dev
and
@vite.dev
is about to get a whole lot easier ๐โก
github.com/analogjs/ana...
loading . . .
feat: introduce @analogjs/storybook-angular package by brandonroberts ยท Pull Request #1699 ยท analogjs/analog
PR Checklist Closes # What is the new behavior? Adds a new @analogjs/storybook-angular package to integrate Storybook & Vite . It re-exports the @storybook/angular APIs, and builders without t...
https://github.com/analogjs/analog/pull/1699
1
40
5
reposted by
Vitest
Michael Shilman
5 months ago
Storybook 9 beta! So much blood/sweat/tears from
@storybook.js.org
and
@vitest.dev
teams to create the future of UI testing. Please kick the tires in your project to help us stabilize for GA. ๐
add a skeleton here at some point
1
48
11
reposted by
Vitest
Storybook
5 months ago
Storybook Test Itโs a batteries-included combo of the best UI development and testing tools: Storybook,
@vitest.dev
's browser mode, and
@playwright.dev
. Run interaction, accessibility, and visual tests with a click and get real-time feedback inside your Storybook.
2
24
2
We need your feedback regarding the benchmarking feature in Vitest!
github.com/vitest-dev/v...
loading . . .
Benchmarking Support ยท vitest-dev vitest ยท Discussion #7850
Vitest provides an experimental support for benchmarking for quite a while now. So far, the feature is still kept as experimental because we identified several issues that we think should be resolv...
https://github.com/vitest-dev/vitest/discussions/7850
5 months ago
0
44
10
reposted by
Vitest
James
5 months ago
made this vitest snapshot serializer so we can make ANSI codes human-readable in snapshots probably a pretty far edge case but has helped us a lot
loading . . .
GitHub - 43081j/vitest-ansi-serializer: Serializes ANSI codes as human-readable text for vitest snapshots
Serializes ANSI codes as human-readable text for vitest snapshots - 43081j/vitest-ansi-serializer
https://github.com/43081j/vitest-ansi-serializer
0
11
1
reposted by
Vitest
James
5 months ago
The various PRs all landed yesterday to move
@typescript-eslint.io
to using
@vitest.dev
for test runs. Great work by Arya who did most of the changes and the team for reviewing ๐ฅณ Smaller install for maintainers, and faster test runs ๐
0
29
4
reposted by
Vitest
Markus Oberlehner
5 months ago
A useful new(ish)
@vitest.dev
feature I almost missed is `expect.soft`! It allows us to have assertions that don't terminate test execution when they fail. This helps us iterate more quickly on failing tests.
3
37
2
Milestone: vitest crossed 10M weekly npm downloads! โก
6 months ago
1
175
16
reposted by
Vitest
AriPerkkio
6 months ago
After couple of days looking at *.cpuprofile's, I think it's getting closer to stable v1 release. The ~3MB checker.ts from Typescript repo is perfect benchmarking reference for tools that process source code. When generating coverage for 'vuejs/core' repo, speed is close to original v8-to-istanbul.
add a skeleton here at some point
3
45
6
reposted by
Vitest
AriPerkkio
6 months ago
This release includes long-awaited "--silent=passed-only" option, that can be used to hide console.log calls from passing tests. Only the logs from failing tests are reported.
add a skeleton here at some point
2
80
16
Load more
feeds!
log in