Tests are just booby traps for the other engineers so they don’t break your code by mistake.
Its funny cause its true. I often design tests to be “if a case/enum value is added this test will explode and tell them to add code here”
I get a small amount of joy from clicking the “request changes” button and blocking some doofus from merging lazy untested code.
Just wow bug free code y’all smh
tests are for confirming your code STILL works if someone ever changes something
Weak code lacks tests
Alt: if strength relies on unity I need to switch to game dev
Run it in your head, find the edge cases yourself, fix the bug… weakling.
Or do what I do in real life which is patch in new bugs and even a security flaw or two.
Real programmers test in production.
You mean like this?
They were under a lot of pressure.
They were under a lot of pressure.
It was sink or swim.
No time to cave in
You mean like this?
Or like this?
Fuck yeah
AMERICA 🇺🇲🇺🇲🇺🇲🇺🇲🦅🦅🦅🦅❗❕❕🗣️🗣️🗣️🗣️🗣️🔊🔊🔊🔊🇺🇲🦅🦅🇺🇲🦅🇺🇲🦅🍔🍔🍔🍔🍔🍔 FREEDOM 🗣️🗣️🗣️🗣️🔊🔊🔊🔊🔥🔥🔥🔥🥶🥶🥶🥶🥵🥵🥵🥵🦅🦅🦅🇺🇲🇺🇲🇺🇲🇺🇲🇺🇲🇺🇲🇺🇲🦅🦅🇺🇲❗🇺🇲🇺🇲❗🦅❗🦅❗❕❗❕❕❗❕❕❗🇺🇲🇺🇲🇺🇲🇺🇲🗣️🗣️🗣️🔊🔊🔊🔥🔥🔥🔥 DELIVERING DEMOCRACY TO THE DESERT 🦅🦅🦅🦅❗🔊❗❗❗🔥🇺🇲🇺🇲🔥❗❕🔊✈️✈️✈️✈️✈️💣💣💣💣💣💣💣💣💣☢️☢️☢️☢️☢️💥💥💥💥💥🦅🇺🇲🦅🇺🇲🔥🔥🔥🥶🥶🥶🥵🥵🥵🦅🦅🦅🇺🇲🇺🇲
Users will test, don’t waste your energy.
Removed by mod
Merging failing tests so everybody else has failing tests and wastes time figuring out why.
Nothing neutral here
I haven’t played DnD in like 20 years. Is “Chaotic Dickhead” an alignment now?
That’s basically just chaotic neutral
That’s what the pipeline is for. It’s not that hard to pinpoint the commit that lead to the errors.
If I rebase my branch with main I do not expect any failing tests. If you waste my time merging shit code, fuck you. Fix your shit.
Unless prod is on fire and the CEO is prowling (even then, I’d argue standards should be maintained)
I don’t say this is good practice, you shouldn’t even be able to merge to main with failing tests. I’ve implemented an emergency flag to do this, but I don’t want to use it in normal, daily business.
“maybe it’ll work, maybe it won’t, but it’ll be FUN”
Flashback to that Tom Cruise Scientology interview 🤣:
It really is … Fun.
Removed by mod
Colombia.
Oh I trust my code, but I don’t trust my coworkers not to break something on the very next commit.
Tests? Pfffft. I am the test.
And while I’m here: https://blog.jim-nielsen.com/2024/sanding-ui/
It baffles me when people use flex layout when it’s clearly visually a grid layout. Nothing here is flexing with varying element sizes and auto-fill-wrap-break of items.
A colleague of mine prefers flex too. But to me, grid is so much more intuitive and simple.
https://css-tricks.com/quick-whats-the-difference-between-flexbox-and-grid/
Why do you need either? Just throw the both in the html
Users are the acceptance testers.
You can’t trust others to not break your wonderful code. Write tests for the regression.
“Tester, c’est douter”