Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Morning bathrobe rant: Write your damned tests.

100,360 Aufrufe • vor 1 Jahr •via X (Twitter)

11 Kommentare

Profilbild von kache
kachevor 1 Jahr

it's true

Profilbild von Chenpi🍊
Chenpi🍊vor 1 Jahr

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 😭

Profilbild von growthesque
growthesquevor 1 Jahr

only integration tests though, as per @htmx_org doctrine.

Profilbild von Coffee Fool
Coffee Foolvor 1 Jahr

Got fresh coffee? We do.

Profilbild von R◎NNY
R◎NNYvor 1 Jahr

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

Profilbild von TadasG 💻
TadasG 💻vor 1 Jahr

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

Profilbild von Nilo Stolte, PhD 🍁⚙️
Nilo Stolte, PhD 🍁⚙️vor 1 Jahr

I love the "hair style" 😂😂😂

Profilbild von Occam’s Chainsaw
Occam’s Chainsawvor 1 Jahr

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

Profilbild von Uncle Bob Martin
Uncle Bob Martinvor 1 Jahr

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

Profilbild von ⛵️ jazzy
⛵️ jazzyvor 1 Jahr

no :(

Profilbild von Uncle Bob Martin
Uncle Bob Martinvor 1 Jahr

Yes!

Ähnliche Videos