~/talk

Angular Testing In TDD - Writing a Feature Guided By a Responsible Maniac

Talkat Angular Connect 2018 · on Thursday, 2018-11-08· [testing, angular]
slides:none on file

Live-coding shows a real feature: a matching quiz component for a LlamaDate site built with strict TDD and a custom test driver that replaces verbose TestBed calls, a spy generator for faking services, and a setup factory API. Tests run red→green cycles, cover success and error flows, enable safe refactors, and end with 32 passing tests. The demo wires a fake service to emit questions, adds three answer buttons, verifies DOM bindings, and proves the feature works while keeping tests readable.

AI-written summary · about

  1. 0:00Intro
  2. 4:33What is TDD
  3. 8:55Setup Function
  4. 9:10Test Function
  5. 9:25Before Then Then
  6. 10:52The Brain
  7. 17:02Partial TDD
  8. 17:59Running Test
  9. 23:26Test Driver
  10. 26:40Test Template
  11. 30:45Fixing Errors
  12. 32:13Fixing Failing Tests
  13. 39:15Testing With Spice
~/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.