932
Average GitHub PR (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] Shameless@lemmy.world 150 points 2 weeks ago

Was this taken from the Crowdstrike repo?

[-] CrypticCoffee@lemmy.ml 51 points 2 weeks ago
[-] phorq@lemmy.ml 86 points 2 weeks ago

Yup, and they're run on an estimated 8.5 million test machines

[-] GissaMittJobb@lemmy.ml 20 points 2 weeks ago

Testing in prod is a power move honestly. Rock star-level

[-] lobut@lemmy.ca 19 points 2 weeks ago

Yeah, but I think apparently the tests that "could" have caught it relied on mocks which basically rendered it useless in those cases.

[-] teejay@lemmy.world 12 points 2 weeks ago

Ah yes. The unintended consequences of mandated code coverage without reviewing the tests. If you can mock the shit out of the test conditions to always give you exactly the answer you want, what's the point of the test?

It's like being allowed to write your own final exam, and all you need to pass the exam is 90% correct on the questions you wrote for yourself.

[-] CrypticCoffee@lemmy.ml 3 points 2 weeks ago

Unit tests, yes, but you don't only do unit tests. Integration and e2e tests still exist.

[-] marlowe221@lemmy.world 3 points 2 weeks ago

And this is why mocks are bad…

load more comments (4 replies)
this post was submitted on 01 Sep 2024
932 points (98.3% liked)

Programmer Humor

32024 readers
553 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS