~/talk

Testable Architecture in Angular

Talkat Reliable Web Summit 2021 · 2021-08-26..08-27· [angular, testing]
slides:none on file

Live‑coding shows an Angular demo app using ngrx and an HTTP validator, and demonstrates concrete tests: a ~40‑line integration test mocks only HttpClient, a fast unit test that constructs the component class with manual spies, and the tradeoffs in speed and brittleness. Architecture guidance (nx + DDD) maps module types to test types so container components get integration tests, UI components get visual regression via Storybook + Puppeteer screenshots, and component tests run with Cypress against Storybook.

AI-written summary · about

  1. 0:00Introduction and agenda
  2. 2:05Demo application overview
  3. 7:04Code and architecture analysis
  4. 12:05Integration testing
  5. 19:16Unit testing approaches
  6. 24:05Advanced testing strategies
  7. 28:28Exotic testing methods
  8. 34:09Unit vs integration testing
  9. 40:57Domain-driven architecture
  10. 55:37Summary and conclusion
~/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.