~/talk

Testing Front-End Applications

Talkat FrontEnd Con 2018 · 2018-12-04..12-05· [testing, developer-experience]
links:none on file
slides:none on file

Claim: front-end suites with more than 3000 tests become slow and brittle when tests target internals, so tests instead focus on user-visible behavior and integration across components. Uses React examples, replaces Enzyme shallow rendering because enzyme shallow rendering breaks on refactor, mounts real stores (reducers/epics) rather than mocking, and wraps common interactions in small helpers to remove boilerplate. Recommends TDD and libraries like react-testing-library / DOM Testing Library to keep tests stable and meaningful.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:40Why tests matter
  3. 7:55Test smells and pitfalls
  4. 10:52TDD and test design
  5. 13:23Team's journey to better tests
  6. 21:44Lessons learned and improvements
  7. 25:47Alternative testing tools
  8. 28:40Summary and best practices
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.