Angular Testing In TDD - Writing a Feature Guided By a Responsible Maniac
summary
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
chapters (13)
- 0:00Intro
- 4:33What is TDD
- 8:55Setup Function
- 9:10Test Function
- 9:25Before Then Then
- 10:52The Brain
- 17:02Partial TDD
- 17:59Running Test
- 23:26Test Driver
- 26:40Test Template
- 30:45Fixing Errors
- 32:13Fixing Failing Tests
- 39:15Testing With Spice
related talks
43mAngular TDD Like You Never Seen Before
54mTDD Workshop: Outward-in Development, Unit Tests, and Fixture Data
52mAngular Testing: Do I Really Have to Do It?!
56mAngular Unit Testing from the Trenches
56mTechniques and practices for testing Angular
29mFall in LOVE with Unit Testing
28mThe Front-end TDD challenge
48mTest Driven Development with AngularJS
