HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

Is TDD dead?

Thoughtworks1 HN recommender · recommended in 1 month, 2014-2022
YouTube
192K views · 12 years ago · talk · evergreen

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.

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

Testing, debugging & developer toolsSoftware architecture & designSoftware practice, open source & careers#tdd#unittesting#kentbeck#martinfowler#dhh#softwaredesign

5 comments from Hacker News

@MarquesMa2022 · in “Ask HN: In these uncertain times, how do you handle anxiousness”

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 my first few years of my career, I was constantly and unconsciously thinking about the code, the business requirement, the team, even outside the working hours. That stressed and drained me a lot. In the end I realized I shouldn't have done that. If I am to worry about those things, I just book myself a calendar and go over those things within the time-box. If I need more time, I book another time block for the next day - as simple as that. Now write that "unit test", forget it, and sleep well at night. If you really need to worry about them, you should have a "quarterly/monthly worrying day" to reflect about your life, your career, strategies and all that. Outside that day, you just live your happy life. [0] ▶ this video

CitesView on HN
@dhzhzjsbevs2022 · in “Unit Testing is Overrated (2020)”

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. ▶ this video

CitesView on HN
@ailideex2018 · in “Ask HN: What prominent and high profile companies use TDD?”

I'm not sure I buy this. Quote from Martin Fowler: ▶ this 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.

CitesView on HN
@ollysb2015 · in “Ask HN: How do I start with test driven development?”

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 - ▶ this video Part 2 - link Part 3 - link Part 4/5 - link

Strongly recommendsView on HN
@ChrisGaudreau2014 · in “The DHH Problem”

> 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 make your designs worse: > Over the years, the test-first rhetoric got louder and angrier, though. More mean-spirited. And at times I got sucked into that fundamentalist vortex, feeling bad about not following the true gospel. Then I'd try test-first for a few weeks, only to drop it again when it started hurting my designs. > Used as a hammer to beat down the nonbelievers, declare them unprofessional and unfit for writing software. A litmus test. If you watch the conversations between DHH, Martin Fowler, and Kent Beck, it seems to me that they all agree: testing is good, test-driven design can be bad, and mocking everything is bad [2][3]. I took some time last week to re-read Uncle Bob's book, Agile Software Development, Principles, Patterns, and Practices [4], and Kent Beck's book on TDD [5]. There was a huge difference: Uncle Bob focuses on test-driven design , while Kent Beck focuses on test-driven development . Uncle Bob claims that test-driven development (especially through mocks) universally improves your design, because it reduces coupling and enables refactoring. Kent Beck t

CitesView on HN
🚀  TDD, Where Did It All Go Wrong (Ian Cooper)1:03:55

🚀 TDD, Where Did It All Go Wrong (Ian Cooper)

DevTernity Conference
619K views • 8 years ago
Jim Coplien and Bob Martin Debate TDD20:59

Jim Coplien and Bob Martin Debate TDD

alexsmail
163K views • 14 years ago
Software Engineering's Greatest Hits27:29

Software Engineering's Greatest Hits

Greg Wilson
25K views • 5 years ago
"Stop Writing Dead Programs" by Jack Rusher (Strange Loop 2022)43:04

"Stop Writing Dead Programs" by Jack Rusher (Strange Loop 2022)

Strange Loop Conference
468K views • 4 years ago
Trace Driven Development: Unifying Testing and Observability - Ted Young, LightStep29:48

Trace Driven Development: Unifying Testing and Observability - Ted Young, LightStep

CNCF [Cloud Native Computing Foundation]
2K views • 7 years ago
Leslie Lamport: Thinking Above the Code59:50

Leslie Lamport: Thinking Above the Code

Microsoft Research
403K views • 12 years ago
Ex Microsoft Employee tells secrets on why Windows 10 bugs exist 👨‍💻 - @Barnacules16:26

Ex Microsoft Employee tells secrets on why Windows 10 bugs exist 👨‍💻 - @Barnacules

Barnacules Nerdgasm
631K views • 7 years ago
Live Debugging in Smalltalk2:50

Live Debugging in Smalltalk

jarober
1K views • 18 years ago
Code Bubbles: Rethinking the User Interface Paradigm of Integrated Development Environments8:19

Code Bubbles: Rethinking the User Interface Paradigm of Integrated Development Environments

AndrewBragdon
284K views • 16 years ago
Agile is Dead • Pragmatic Dave Thomas • GOTO 201540:39

Agile is Dead • Pragmatic Dave Thomas • GOTO 2015

GOTO Conferences
1.5M views • 11 years ago
Software Art Thou: Glenn Vanderburg - Real Software Engineering1:07:58

Software Art Thou: Glenn Vanderburg - Real Software Engineering

Zendesk
35K views • 8 years ago
Intentional Programming demo (Part 1) - Editor9:59

Intentional Programming demo (Part 1) - Editor

dftube
14K views • 20 years ago
Procedural Programming: It Never Went Away — Kevlin Henney | Build Stuff1:02:27

Procedural Programming: It Never Went Away — Kevlin Henney | Build Stuff

Build Stuff - #1 Software Dev Conf
28K views • 8 years ago
J B  Rainsberger   Integrated Tests Are A Scam HD1:04:36

J B Rainsberger Integrated Tests Are A Scam HD

Christopher Cabanne
49K views • 11 years ago
Evil Mode: Or, How I Learned to Stop Worrying and Love Emacs40:02

Evil Mode: Or, How I Learned to Stop Worrying and Love Emacs

thoughtbot
563K views • 11 years ago
John Hughes - Testing the Hard Stuff and Staying Sane47:17

John Hughes - Testing the Hard Stuff and Staying Sane

ClojureTV
39K views • 12 years ago
Bret Victor - Inventing on Principle54:20

Bret Victor - Inventing on Principle

Rui Oliveira
339K views • 14 years ago
The Forgotten Art of Structured Programming - Kevlin Henney [C++ on Sea 2019]1:29:27

The Forgotten Art of Structured Programming - Kevlin Henney [C++ on Sea 2019]

cpponsea
245K views • 7 years ago
Intentional Programming demo (Part 2) - Compiler10:01

Intentional Programming demo (Part 2) - Compiler

dftube
4K views • 20 years ago
Bret Victor Inventing on Principle54:20

Bret Victor Inventing on Principle

Luna Programming Language Tutorials
22K views • 8 years ago