Loading video...

Video Failed to Load

Go Home

Morning bathrobe rant: Write your damned tests.

100,360 views • 1 year ago •via X (Twitter)

11 Comments

kache's profile picture
kache1 year ago

it's true

Chenpi🍊's profile picture
Chenpi🍊1 year ago

I see what you are saying Problem is the person that approves the PR wrote the code…so now I hafta explain why they are dog 😭

growthesque's profile picture
growthesque1 year ago

only integration tests though, as per @htmx_org doctrine.

Coffee Fool's profile picture
Coffee Fool1 year ago

Got fresh coffee? We do.

R◎NNY's profile picture
R◎NNY1 year ago

Unfortunately, code turning me into horror barely has tests because people writing tests barely write horror code. 😁

TadasG 💻's profile picture
TadasG 💻1 year ago

yes! Especially with AI. Write tests Ask AI to refactor Use tests to make sure everything still works Don't crash prod Everyone happy Uncle Bob also happy

Nilo Stolte, PhD 🍁⚙️'s profile picture
Nilo Stolte, PhD 🍁⚙️1 year ago

I love the "hair style" 😂😂😂

Occam’s Chainsaw's profile picture
Occam’s Chainsaw1 year ago

How do you verify that all of the adverse outcomes are covered by the tests? I’ve found people love writing tests for the obvious stuff but fail to cover the tricky stuff i.e. where the tests are most needed

Uncle Bob Martin's profile picture
Uncle Bob Martin1 year ago

You refuse to write a line of production code until you have a test that fails because that line hasn't been written.

⛵️ jazzy's profile picture
⛵️ jazzy1 year ago

no :(

Uncle Bob Martin's profile picture
Uncle Bob Martin1 year ago

Yes!

Related Videos