The pragmatic front-end tester
summary
Claims that front-end testing can be simple, demonstrates a tiny counter component, and shows a real test that renders the component, queries it with getByText, fires a click event, and asserts the DOM update. Advocates using DOM Testing Library to avoid implementation-detail coupling that creates a brittle “third” consumer, reducing false positives and keeping tests framework-agnostic. Shows that tests run fast, mirror user interactions, and actually catch regressions without breaking for internal refactors.
AI-written summary · about
chapters (6)
- 0:00Intro
- 1:00The testing pyramid
- 3:00The pragmatic frontend tester
- 6:00What is a test
- 8:00Inputs and outputs
- 12:00View Data Library
related talks
32mDOM Testing: Test Your Frontend Apps More Easily and Effectively
30mTesting Front-End Applications
37mFront-end Testing for Skeptics
44mHow not to test
38mModern Web Testing: Going Beyond Selenium
35mTesting in Frontend World
09mElemental Testing My Dear Watson - Unit Tests for UI Components
28mThe Front-end TDD challenge
