Topic · 19 lessons in 11 series
Testing
Unit, integration and end-to-end tests, test doubles, flaky tests and test strategy for a team, from the Testing series and from the lessons on APIs and front ends.
Backend in DepthWhole series →
Senior Frontend DepthWhole series →
Full-Stack QuestionsWhole series →
- Testing Tools: Jest, Vitest, Testing Library, PlaywrightMocks and fake timers, MSW, user-event, testing hooks and Server Components, Playwright locators and flaky tests, database tests with Prisma.28 min
- Accessibility Beyond the BasicsWCAG 2.2 criteria in plain words, forms, focus and dialogs, live regions, ARIA, contrast numbers and testing, one level past Frontend Depth Lesson 6.20 min
- Full-Stack Performance: From Database to BrowserFind the bottleneck first, then fix the database, caching, compression, streaming and bundle size, and measure each change with p50, p95 and p99.42 min
- Live Coding and Take-Home RoundsA 45-minute routine, a take-home checklist and six full-stack tasks with tested code.42 min
Team Lead MindsetWhole series →
Testing From ZeroWhole series →
- Why We Test, and the Shapes of a Test SuiteWhat tests prove and do not prove, the pyramid, trophy and honeycomb as models, what to test, a first node:test run, and bad tests.12 min
- Unit Tests and Test DoublesArrange-act-assert, stubs, mocks, spies and fakes, fake timers, async errors, test isolation, and why mocking your own internals hurts.13 min
- Testing UI Components with Testing LibraryQueries by role, user-event, async UI, mocking the network with MSW, forms and error states.13 min
- Integration and API TestsTesting an Express API in-process, test database strategies, contracts, webhooks and queues.15 min
- End-to-End Tests with Playwright, and Fixing Flaky TestsPlaywright locators, auto-waiting, traces and isolation, with four flaky tests reproduced and fixed.17 min
- TDD, Property-Based Testing, Mutation Testing and a Team StrategyA TDD kata, fast-check shrinking, Stryker mutation testing, coverage, and a one-page team test strategy.19 min