
Next generation testing framework powered by @vite. It's fast! ⚡️
Joined
December 05, 2022
Website
Discord
@zachleat And it's pretty smart about only re-running the tests for the changes you made. Even when running under debugger, it's almost as fast as I type.
Really enjoying working with https://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 🏆
5. `only` works without modifying the CLI command (I know why Node test runner does this but it’s proven more annoying than helpful)
vitest.dev
VitestNext generation testing framework powered by Vite
Give us your thoughts on the benchmarking feature in Vitest ⚡️
GitHub
Benchmarking Support · vitest-dev vitest · Discussion #7850Vitest 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...
Vitest 3.1.0 is out! ⚡
Apart from performance improvements and fixes, this release expands your test setup flexibility with new options. Check out the release notes here.
GitHub
Release v3.1.0 · vitest-dev/vitest🚀 Features Introduce %$ option to add number of the test to its title - by @kemuridama in #7412 (df347) Add diff.maxDepth option and set non-Infinity value as a default to reduce crash - by @hi-og...
We published a CVE for a moderate dev server security vulnerability. Please update to the latest versions: 6.2.4, 6.1.3, 6.0.13, 5.4.16, 4.5.11.
https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8
GitHub
`server.fs.deny` bypassed for `inline` and `raw` with `?import` query### Summary The contents of arbitrary files can be returned to the browser. ### Impact Only apps explicitly exposing the Vite dev server to the network (using `--host` or [`server.host` conf...
Vitest 3.1.0: hide output from passing tests and more
@vitest
https://github.com/vitest-dev/vitest/releases/tag/v3.1.0
GitHub
Release v3.1.0 · vitest-dev/vitest🚀 Features Introduce %$ option to add number of the test to its title - by @kemuridama in #7412 (df347) Add diff.maxDepth option and set non-Infinity value as a default to reduce crash - by @hi-og...
Vite 6.1 is out! The 7.5K commits to main release ⚡
https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md#610-2025-02-05
GitHub
vite/packages/vite/CHANGELOG.md at main · vitejs/viteNext generation frontend tooling. It's fast! Contribute to vitejs/vite development by creating an account on GitHub.
The patched versions also include patches for a browser mode security vulnerability.
https://github.com/vitest-dev/vitest/security/advisories/GHSA-8gvc-j273-4wm5
GitHub
Browser mode serves arbitrary files### Summary `__screenshot-error` handler on the browser mode HTTP server that responds any file on the file system. Especially if the server is exposed on the network by [`browser.api.host: true`]...
We've released patches for a critical security vulnerability. We strongly encourage projects to upgrade to versions 1.6.1, 2.1.9, or 3.0.5 as soon as possible.
https://github.com/vitest-dev/vitest/security/advisories/GHSA-9crc-q9x8-hgqq
GitHub
Remote Code Execution when accessing a malicious website while Vitest API server is listening### Summary Arbitrary remote Code Execution when accessing a malicious website while Vitest API server is listening by Cross-site WebSocket hijacking (CSWSH) attacks. ### Details When [`api` o...
Vitest 3.0 is here!
https://vitest.dev/blog/vitest-3
vitest.dev
Announcing Vitest 3.0Vitest 3.0 Release Announcement
Honored to be the most anticipated tech by Matt, who’s literally *the* go-to comprehensive TypeScript educator
👉 https://bsky.app/profile/mattpocock.com/post/3ldnmwyn2ic2z
Bluesky Social
Matt Pocock (@mattpocock.com)There's literally no tech I'm more bullish on than Vitest. Even TypeScript. If you're using some other test runner, you're making your job harder for no reason.
“It's rare to see a trend as clear as Vitest's ascencion through the ranks over the past few years… it already tops the interest, retention, and overall positivity rankings – and shows no sign of conceding the top spot anytime soon.”
2024.stateofjs.com
State of JavaScript 2024: TestingThe 2024 edition of the annual survey about the latest trends in the JavaScript ecosystem.
We're looking for a good folk from the Vitest community to help us with our social presence in Mastodon. Please comment here if you're interested or join our discord server.
Vite 6.0 is out ⚡️
https://vite.dev/blog/announcing-vite6.html
vitejs
Vite 6.0 is out!Vite 6 Release Announcement
What happens when Storybook and Vitest are mashed together?
https://youtu.be/8t5wxrFpCQY
www.youtube.com
- YouTubeAuf YouTube findest du die angesagtesten Videos und Tracks. Außerdem kannst du eigene Inhalte hochladen und mit Freunden oder gleich der ganzen Welt teilen.
We're thrilled to share the ViteConf 24 Speakers lineup!
On October 3rd & 4th, get ready to learn from the builders pushing modern web development forward ⚡️
Register for free today and invite your communities to the party! 🎉
Vitest and the Future of Testing
https://bytes.dev/archives/307
Bytes by ui.dev
Bytes #307 - Vitest and the future of testingAstro's new situationship, programming your own nostalgia machine, and what Hono has in common with my Temu blender.
Registrations for ViteConf 2024 are open! 🎉
Get your free ticket and invite others in your communities! This October 3rd & 4th, the @vite ecosystem gathers for another 24-hour marathon!
Let's keep building together. Lightning fast ⚡️
https://viteconf.org/?2024
viteconf.org
ViteConfStackBlitz invites you to ViteConf, an immersive and interactive online event for frontend teams building the next generation of the web with Vite
Vitest 2.0: better browser mode and more
@vitest
https://github.com/vitest-dev/vitest/releases/tag/v2.0.0
GitHub
Release v2.0.0 · vitest-dev/vitestVitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation. 🚨 Breaking Changes Simplify mock function g...
Vitest 2.0 is here!
- better Browser Mode support (still experimental)
- stability improvements (`forks` pool is now the default)
- new `blob` reporter to merge reports from different processes
- a lot of bug fixes
GitHub
Release v2.0.0 · vitest-dev/vitestVitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation. 🚨 Breaking Changes Simplify mock function g...
We're overwhelmed by the enthusiasm at the https://e18e.dev community. Non-stop discussions about how to improve packages' performance. Folks connecting and helping each other to send PRs to widely used libs. If this resonates with you, join and collaborate to cleanup the JS ecosystem 🧡
e18e.dev
e18eEcosystem Performance
@vitest surpassed 5 million downloads a week! 🎉
npm
vitestNext generation testing framework powered by Vite. Latest version: 1.6.0, last published: 2 months ago. Start using vitest in your project by running `npm i vitest`. There are 646 other projects in the npm registry using vitest.
Vitest Browser Mode is getting new powerful features! 🎉 Read our thoughts on the current state of component testing and future plans for the Browser Mode 👇
GitHub
Vitest Browser Mode · vitest-dev vitest · Discussion #5828It's been some time since we gave any update on the Browser Mode, and Vitest 2.0 seems like a good time to explain how we feel about it. And we have a lot of plans! The initial purpose of Vitest wa...
Vitest 1.6.0: faster “forks” pool, comparing benchmark results, and more
@vitest
https://github.com/vitest-dev/vitest/releases/tag/v1.6.0
GitHub
Release v1.6.0 · vitest-dev/vitest🚀 Features Support standalone mode - by @sheremet-va in #5565 (bdce0) Custom "snapshotEnvironment" option - by @sheremet-va in #5449 (30f72) benchmark: Support comparing benchmark result -...
Vitest 1.6.0 is out!
- performance improvements to the "forks" pool
- `--standalone` flag to start Vitest in watch mode without running tests
- `--compare` flag to compare benchmark results
- new options to inject scripts in browser mode
- bug fixes
GitHub
Release v1.6.0 · vitest-dev/vitest🚀 Features Support standalone mode - by @sheremet-va in #5565 (bdce0) Custom "snapshotEnvironment" option - by @sheremet-va in #5449 (30f72) benchmark: Support comparing benchmark result -...
💖 New blog post! Let's Forward the Sponsorship to our dependencies!
antfu.me
Initiative on Sponsorship ForwardingAn initiative to support open-source ecosystem by Anthony Fu.
Introducing the new official Vitest VS Code extension!
Starting with version 0.6.0, the VS Code extension now supports:
- instant feedback
- .each test declaration
- test tree view
- coverage reporting
- better debugging support
- improved performance
marketplace.visualstudio.com
Vitest - Visual Studio MarketplaceExtension for Visual Studio Code - A Vite-native testing framework. It's fast!
Vitest 1.5.0 is out!
- improved error messages for toMatchObject
- improvements to v8 coverage reporting
- custom diff truncation options
- better --inspect support
- bug fixes
GitHub
Release v1.5.0 · vitest-dev/vitest🚀 Features Add configuration for diff truncation - by @willieho in #5073 and #5333 (6797b) Remove unrelated noise from diff for toMatchObject() - by @geersch in #5364 (99276) Allow custom h...
📝 New blog post!
Open source is becoming more challenging for me over time. I have written down some of my experiences and what I learned on my journey.
Would love to hear what you think in the comments!
https://antfu.me/posts/mental-health-oss
antfu.me
Mental Health in Open SourceSome of my thoughts on my mental health during my journey in Open Source
We just open sourced Rolldown: a Rust-based bundler designed to be used in Vite in the future.
Still WIP, but we'd love to see more contributors involved.
GitHub
GitHub - rolldown-rs/rolldown: Fast Rust bundler for JavaScript with Rollup-compatible API.Fast Rust bundler for JavaScript with Rollup-compatible API. - rolldown-rs/rolldown
Help us gather more feedback for Vitest 2.0:
https://github.com/vitest-dev/vitest/discussions/5210
GitHub
Vitest 2 · vitest-dev vitest · Discussion #5210We wanted to start gathering feedback from users for the next major version. Feel free to bring back proposals if you want to expand on them. If possible, create an issue for your feature and link ...
My open source work on @vitest and other tools can be supported via Github Sponsors. Take a look at my updated sponsors page and consider supporting! 🙌
https://github.com/sponsors/AriPerkkio
GitHub
Sponsor @AriPerkkio on GitHub SponsorsSupport AriPerkkio's open source work
Modifying source code with Magicast from UnJS always feels like magic. 🪄
It's amazing how JS proxys can simplify runtime AST traversing and keep code easy to read. Magicast is powering
@vitest `coverage.thresholds.autoUpdate` under-the-hood.
Vitest 1.1.2 fixes severe performance regression introduced back in 0.34.0 among other fixes! If you are using jsdom/happy-dom you should see a noticeable speed improvement depending on the number of test files you have.
GitHub
Release v1.1.2 · vitest-dev/vitest🐞 Bug Fixes Remove internal flag from UI option in the config - by @sheremet-va (7b4a2) browser: Avoid safaridriver collision - by @mbland in #4863 (345a2) Resolved failure to find arbitra...