Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

🧪 Test SvelteKit with TDD & VITEST 🧪

Автор: Johnny Magrippis

Загружено: 2022-05-11

Просмотров: 13516

Описание:

Let’s use Test-Driven Development and test our SvelteKit app with VITEST! Blazing-fast tests, to go with our blazing-fast bundler 🚀

Do not be alarmed by the length of the video, the initial setup is relatively quick!

... But we go through edge-cases, common problems and hot tips, and we finish with an extended “coding & chill” session to complete our spec and freshen-up our design 💅 Feel free to use the timestamps / chapters to jump around!

If you’ve never heard of TDD, Test-Driven Development, before, we go through how I’d TDD a real-life problem! Maybe use that section as inspiration for your next coding challenge? 😄

See the code: https://github.com/jmagrippis/vitest-...
See the deployed Dashboard: https://vitest-with-sveltekit.vercel....

Highlighted software:
SvelteKit: https://kit.svelte.dev/
Vitest: https://vitest.dev/
Playwright: https://playwright.dev/

🎶 I’ve remixed “Eye Candy”, “Soft Peach” & “Hank’s Acid Trip” by Sven Lindvall & Daniel Fridell for the background music 🎶

No affiliations whatsoever: if I show something, you know you're hearing my unfiltered thoughts 😄

My own website: https://magrippis.com/

Search for @jmagrippis to find me on socials like Instagram and Twitter!

Between the comment section and the socials, let me know somewhere what you’d like me to cover next 🙌

--
TIMESTAMPS
--
0:00 - Why VITEST with SvelteKit over Jest?
1:11 - Vanilla Setup and TDD-ing a Unit Test 🧪
3:02 - Why hard-code solutions? 🔴🟢♻️
3:53 - Setup for SvelteKit & testing Components
5:46 - vitest-svelte-kit to the rescue
6:35 - Setting up svelte-testing-library
7:15 - The need for a browser environment like jsdom
7:39 - Where to pass Vitest config options?
8:15 - Prove it all works, with some Fake TDD 😄
8:47 - Jest-style globals & extended expect matchers
10:03 - Vitest VSCode plugin
10:24 - Cannot find base tsconfig.json? How to fix CI
12:10 - When to Vitest, when to Playwright / Cypress?
13:03 - TDD & chill to finish our spec! ✅
18:13 - Design & chill to finish our video! 💅
22:41 - Next steps + Comment & Subscribe 🧡

🧪 Test SvelteKit with TDD & VITEST 🧪

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

🍞 & 🧈: Magically load data with SvelteKit Endpoints

🍞 & 🧈: Magically load data with SvelteKit Endpoints

My biggest issues with Svelte in 2025...

My biggest issues with Svelte in 2025...

10x Microservices With GoFr

10x Microservices With GoFr

When To Unit, E2E, And Integration Test

When To Unit, E2E, And Integration Test

Она мастер спорта по боксу! Как тренируются лучшие девушки боксеры

Она мастер спорта по боксу! Как тренируются лучшие девушки боксеры

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

Testing, 1 2 3 4, Dominik G. — Svelte Summit Spring 2025

Testing, 1 2 3 4, Dominik G. — Svelte Summit Spring 2025

Easy Auth, Database, i18n Setup And More For SvelteKit

Easy Auth, Database, i18n Setup And More For SvelteKit

Why Vitest Is Better Than Jest

Why Vitest Is Better Than Jest

Почему Собаки Вдруг ЗАЛЕЗАЮТ На Вас? (Причина шокирует)

Почему Собаки Вдруг ЗАЛЕЗАЮТ На Вас? (Причина шокирует)

Typst: Современная замена Word и LaTeX, которую ждали 40 лет

Typst: Современная замена Word и LaTeX, которую ждали 40 лет

Faster initial loads with Response Streaming 🏞️ + SvelteKit 🔴 LIVE Coding & Chill

Faster initial loads with Response Streaming 🏞️ + SvelteKit 🔴 LIVE Coding & Chill

Поток данных в Svelte 5 | Как получать и передавать данные из бэкэнда во фронтенд в SvelteKit

Поток данных в Svelte 5 | Как получать и передавать данные из бэкэнда во фронтенд в SvelteKit

Test SvelteKit with Playwright 🧪 LIVE Coding & Chill

Test SvelteKit with Playwright 🧪 LIVE Coding & Chill

Global Stores Are Dangerous

Global Stores Are Dangerous

Vitest Simplified

Vitest Simplified

Forms Will Never Be the Same

Forms Will Never Be the Same

🚀  TDD, Where Did It All Go Wrong (Ian Cooper)

🚀 TDD, Where Did It All Go Wrong (Ian Cooper)

Забудь VS Code — Вот Почему Все Переходят на Cursor AI

Забудь VS Code — Вот Почему Все Переходят на Cursor AI

Component Testing with Storybook, Svelte, and Vitest — Svelte Summit Spring 2025

Component Testing with Storybook, Svelte, and Vitest — Svelte Summit Spring 2025

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com