Collection: Vitest & Svelte
Resources and learning materials for getting started with Vitest in Svelte & SvelteKit
Feb 21, 20261 min read1 read
Update: Vitest docs have a Learn section now
- Svelte Docs: Testing
- Vitest Docs: Browser Mode
- Sveltest - Comprehensive Testing Suite for Svelte
- github.com/vitest-community/vitest-browser-svelte
- github.com/testing-library/svelte-testing-library
- Testing svelte5 with vitest and playwright for non svelte-kit projects
- From JSDOM to Real Browsers: Testing Svelte with Vitest Browser Mode - Scott Spence
- Migrating from @testing-library/svelte to vitest-browser-svelte - Scott Spence
- Alternative SvelteKit E2E Testing Example with Bun
[YouTube video](https://youtu.be/qtm3wjM2eGI)
Frontend Master Vitest Crash Course
[YouTube video](https://youtu.be/VFYqwXPgJFw)
ViteConf 2025: Vitest Browser Mode - Jessica Sachs
[YouTube video](https://youtu.be/AGmVjX_iilo)
ViteConf 2025: State of Vitest - Vladimir Sheremet
[YouTube video](https://youtu.be/YNQ_cJ6yy2Q)
ViteConf 2025: Storybook Vitest - Yann Braga
[YouTube video](https://youtu.be/ljmUuhfTR80)
Svelte Summit 2025: Testing, 1 2 3 4 - Dominik G.
[YouTube video](https://youtu.be/mdyRQDDp28s)
Svelte Summit 2025: Component Testing with Storybook, Svelte, and Vitest - Jeppe Reinhold
[YouTube video](https://youtu.be/O2ODcC9Gj1A)
Advent of Svelte 2025 - Day 9: Testing Classes - Ben Davis
Did you enjoy this article?
Recommend it — Standard Reader surfaces well-loved writing to more readers across the network.