Ian Cooper:TDD 到底哪里走偏了(DevTernity 2017)
关于这个视频
Ian Cooper 的 DevTernity 演讲重新审视了 Kent Beck 最初的 TDD 想法,并展示了误解的根源。它认为测试应该通过公共接口而不是实现细节来针对行为,因此套件支持重构而不是抵制重构。
HN 为什么推荐它:HN 多次称其为有关测试的最佳演讲,许多人表示它改变了他们处理测试、模拟和单元含义的方式。
“这次精彩的演讲彻底改变了我进行测试的方式。每个编写测试的开发人员现在都需要观看此内容!”— HN 评论 · 2021 · 原文
查看英文原文
Ian Cooper's DevTernity talk revisits Kent Beck's original TDD ideas and shows where misunderstandings crept in. It argues tests should target behaviors through public interfaces rather than implementation details, so suites support refactoring instead of resisting it.
Why HN likes it: HN repeatedly calls it the best talk on testing, and many say it changed how they approach tests, mocks and the meaning of a unit.
“This excellent talk completely changed the way I approached testing. Every developer who writes tests needs to watch this now!”
原视频频道:DevTernity Conference · YouTube 61.9 万次观看













