Fullstack testing
summary
Argues that modern meta-framework apps need fullstack tests that cover unit, component and E2E layers, and shows a working setup: unit tests with Vest, component tests with Svelte Testing Library and HappyDOM, E2E with Playwright and MSW where MSW handlers run on both client and server. Demonstrates database-backed E2E using Drizzle + SQLite with migrations and a reset fixture so each Playwright test starts with a fresh schema. Offers concrete vite config changes, test setup files and fixture code that actually run.
AI-written summary · about
chapters (8)
- 0:00Introduction and motivation
- 1:06Analyzing common bugs
- 8:50Testing philosophy
- 10:21Modern testing landscape
- 12:27Setting up tests
- 13:23Unit and component testing
- 17:32End-to-end testing with MSW
- 21:45Database integration testing
related talks
13mComponent Testing with Playwright for Vue
37mStop Doing E2E Tests! Write Better Tests with Contract
16mEnd to End testing with Playwright
34mEnd to end testing a world of web, mobile & desktop apps
35mTesting in Frontend World
35mState of end-to-end testing for modern web applications
37mFront-end Testing for Skeptics
24mWriting Good Tests for Vue Applications
