Is TDD dead?

Channel:Thoughtworks · Length:30:26 · Published:2014-05-09 · Views:192544

Watch on YouTube

Summary

A Thoughtworks conversation among Martin Fowler, Kent Beck and David Heinemeier Hansson on whether TDD is dead. They discuss the tradeoffs of test-driven development, mocking and where TDD helps or hurts design.

Why HN recommends it

Recommended in TDD and unit-testing threads as a balanced debate among three prominent developers that avoids dogma.

I can't recommend the discussion between Kent Beck, David Hansson and Martin Fowler enough. — HN, 2015

Software architecture & design · Testing, debugging & developer tools · Software practice, open source & careers

Subtitles (excerpt)

hey everyone I Am David hinar Hansen I am here with uh Martin Fowler and Kent Beck to talk about is tdd dead as a topic um coming off keynote I did at railcom and some subsequent articles I posted on the blog I um had a chance to talk with both Kent and Martin sort of oneon-one in the days that followed and we got to discuss a bunch of these issues and I got to clarify some thoughts and definitions that I had in my head and uh and got a lot wiser about where both Martin and Kent are on the issue and Kent suggested that uh hey maybe we should share that with the world so that's what we're doing now um I know a bunch of people have been expecting that this was going to be a big Duke out um there will be no boxing uh we'll explore a bunch of definitions and uh problems and and patterns we've seen and what what's worked for for us individually and uh and go from there but uh to get started I thought uh i' just run over brief recap of the problems that I've seen with tdd and and use that to kick off the discussion and there really three major points that I'll focus on for for this discussion um the first is the definition of of tdd and its components specifically unit testing I know the tdd and unit testing are certainly not the same thing but tdd is often used to to

On Hacker News

I can't recommend the discussion between Kent Beck, David Hansson and Martin Fowler enough. They look at how and where it should be used and in particular discuss their approach to mocking which I feel is an often misunderstood tool. Part 1 - [VIDEO] Part 2 - [LINK] Part 3 - [LINK] Part 4/5 - [LINK] — ollysb, 2015-02
It says that "Nintendo" or "任天堂" the brand name refers to an old Chinese saying "謀事在人,成事在天" which means "Man proposes, God disposes", or "do your best and leave it to the fate". The idea is not far from the stoic ones - try your best and stop worrying. It's like an idea from this classic debate on TDD [0]: Unit tests make you confident. You write it, you forget it. It makes you sleep at night. In… — MarquesMa, 2022-06
Hot take. Unit testing is not overrated, if you feel this way you likely just suck at optimising your suite for high RoI tests or chase some stupid metric like code coverage getting mad when you find out you wasted a bunch of time writing worthless tests. [VIDEO] — dhzhzjsbevs, 2022-04
I'm not sure I buy this. Quote from Martin Fowler: [VIDEO] > I share with with David and Kent, there are problems where TDD doesn't work terribly well, and sadly most of the programming I do these days is not conducive to TDD and I miss it because actually I really like the TDD flow that really works for me just as it works the Kent. — ailideex, 2018-12
> Because DHH is just one person. And he only has DHH's experiences. Yep. Uncle Bob is one person, too. tl;dr Think for yourself and don't listen to somebody just because they hurt your feelings. > To pick a topical example: Is TDD hard in Rails apps because TDD is dead or because Rails makes TDD hard? This is a misrepresentation of what DHH has said [1], which is that strict adherence to TDD can… — ChrisGaudreau, 2014-05

Related videos