TDD/BDD and DI
summary
Claims an automatic mock injector that creates mocks for unbound interfaces at injection time, demonstrated with fake it and boost di. Shows TDD example (coffee brew then verify) and a BDD-style game scenario; wiring boilerplate disappears, constructor refactors require no test changes, and mocks are injected automatically. Code is built and runs in the demos; the concrete gain is fewer manual fakes, less setup, and resilience to signature changes without extra test maintenance.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 0:11What is testing
- 1:04BDD
- 1:31Mocking
- 2:07DI
- 2:33Automock injector
- 3:12MMmock
- 3:28Hello World
- 4:13Provider
- 4:53Test
- 5:28Naming
- 6:17Summary
related talks
39mTDD Revisited
52mBuilding Operable Software with TDD (but not the way you think)
15mIntro to TDD and BDD
46mHow John Started to Like TDD (Instead of Hating It)
43mTest Driven Design - Coupling Loosely
31mBeyond the Mockery- Why We Should Embrace Testing Without Mocking Frameworks
01h 01mTDD Revisited
56mBuilding Operable Software with TDD (but not the way you think)
