Part 5 — Testing React Apps: Jest + Playwright for Real Flows
Episodes
6 items • ~21 min-
1
Part 5.1 — React Testing Philosophy: What to Test (and What Not To)
UpdatedTesting React apps isn’t about coverage numbers—it’s about confidence. This post gives you a practical philosophy for deciding what’s worth testing and what isn’t.
Published Dec 18, 2025 • 3 min read
-
2
Part 5.2 — Setting Up Jest, Testing Library & Test Environment
UpdatedA good testing philosophy is useless without a solid setup. This post walks you through configuring Jest and React Testing Library so your tests are fast, reliable, and easy to write.
Published Dec 19, 2025 • 3 min read
-
3
Part 5.3 — Testing Components, Hooks & UI State
UpdatedComponents and hooks are where frontend behavior lives. This post shows how to test them through real user interactions—without brittle implementation details.
Published Dec 20, 2025 • 4 min read
-
4
Part 5.4 — Mocking Fetch, API Clients & Error States
UpdatedFrontend tests should be fast, deterministic, and independent of the backend. This post shows how to mock REST APIs correctly—without leaking implementation details.
Published Dec 21, 2025 • 4 min read
-
5
Part 5.5 — End-to-End Testing with Playwright: Real User Flows
UpdatedUnit tests build confidence in components. End-to-end tests build confidence in the product. This post shows how to test real user journeys with Playwright.
Published Dec 22, 2025 • 4 min read
-
6
Part 5.6 — Running Frontend Tests in CI & Keeping Them Maintainable
UpdatedFrontend tests only matter if they run automatically. This post shows how to run Jest and Playwright tests in CI—and keep them reliable as your app grows.
Published Dec 23, 2025 • 3 min read